Fetch menu items
I'm struggling to create menu items dynamically via our API. Is there any specific way to handle this case?

useMenu hook. This hook allows you to fetch and render menu items based on the resources defined in your <Refine> component. Here’s a step-by-step guide to help you achieve this:<Refine> component. These resources will be used to generate the menu items.useMenu Hook: This hook will fetch the menu items based on the resources. You can then map these items to create your custom menu.useMenu hook.useMenu hook:``
In this example:
- The useMenu` hook is used to get the initial menu items based on the resources.useMenuuseMenuuseMenuuseMenu``
In this example:
- The