You can create custom layouts using
Both of these components can accept the listed props for customization.
<Refine> being for global customization and the
<LayoutWrapper> being for local.
You can swizzle this component to customize it with the refine CLI
Creating a Custom Layout
Let's start with creating a
<CustomLayout/> component using
@pankod/refine-core with the following code:
useMenu hook to get the list of current resources and print it. We also use
useRouterContext hook to get the router context and use it to create a link.
This example demonstrated how to configure a global layout. To learn how to use global layout in custom pages and make local modifications per page, refer to the
<LayoutWrapper> docs. →