UnauthorizedViewProps
Defined in: packages/react/src/components/views/UnauthorizedView.tsx:6
Props for UnauthorizedView.
Properties
Section titled “Properties”children?
Section titled “children?”
optionalchildren?:ReactNode
Defined in: packages/react/src/components/views/UnauthorizedView.tsx:25
Optional action rendered under the message, e.g. a sign-out control or a link back to the public site. Omit for a message-only page.
description?
Section titled “description?”
optionaldescription?:string
Defined in: packages/react/src/components/views/UnauthorizedView.tsx:20
Explanation shown under the heading. Keep it non-specific — do not reveal which roles or resources exist, since this page is reachable by callers who failed authorization.
Default Value
Section titled “Default Value”"You do not have permission to access the admin panel."title?
Section titled “title?”
optionaltitle?:string
Defined in: packages/react/src/components/views/UnauthorizedView.tsx:12
Heading shown to the caller.
Default Value
Section titled “Default Value”"Access denied"