Skip to main content
Version: 2.xx.xx

<Authenticated>

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

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

API Reference

Properties

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