Skip to content

Latest commit

 

History

History
70 lines (37 loc) · 2.28 KB

nestedroutesprops.md

File metadata and controls

70 lines (37 loc) · 2.28 KB

andculturecode-javascript-react › NestedRoutesProps

Interface: NestedRoutesProps

Hierarchy

Index

Properties

Properties

isAuthenticated

• isAuthenticated: boolean

Inherited from AuthenticatedRoute.isAuthenticated

Defined in src/interfaces/authenticated-route.ts:12

Flag to determine whether the current user is authenticated or not.

memberof AuthenticatedRouteProps


Optional redirectToIfNotFound

• redirectToIfNotFound? : undefined | string

Inherited from UnmatchedRoute.redirectToIfNotFound

Defined in src/interfaces/unmatched-route.ts:12

Route to redirect to if the specified route cannot be matched.

memberof RouteNotFoundProps


Optional redirectToIfUnauthenticated

• redirectToIfUnauthenticated? : undefined | string

Inherited from AuthenticatedRoute.redirectToIfUnauthenticated

Defined in src/interfaces/authenticated-route.ts:20

Route to redirect to if the current user is not authenticated.

memberof UnauthenticatedRedirectProps


routes

• routes: RouteDefinition[]

Defined in src/components/routing/nested-routes.tsx:14