Skip to main content

Routes

<LayoutProvider
routeProps={{
router,
pathname,
searchParams,
basePath, // optional
routeResolver, // optional,
isRouteActive, // optional
}}
...
>
...
</LayoutProvider>

Tip: You can use the useRouter, usePathName and useSearchParams hook from next/navigation for nextjs projects.

Check the RouteProps for more information.