Skip to main content
Version: 3.xx.xx


<Authenticated> is the component form of useAuthenticated. It internally uses useAuthenticated to provide it's functionality.

import { Authenticated } from "@pankod/refine-core"

<YourComponent />

For an example use, see Custom Pages Example and it's explanation.

API Reference​


fallbackContent to show if user is not logged in. If undefined, routes to /ReactNode
loadingContent to show while checking whether user is logged inReactNode