function RestrictedGuest
RestrictedGuest(unnamed 0: RestrictedGuestProps): React.JSX.Element

Renders children when no one is signed in, and redirects otherwise: to the page a ?next= names (nextPath), or to /.

Parameters

Return Type

React.JSX.Element

Usage

import { RestrictedGuest } from "src/pages/RestrictedGuest.tsx";