Skip to content

UnauthorizedViewProps

Defined in: packages/react/src/components/views/UnauthorizedView.tsx:6

Props for UnauthorizedView.

optional children?: 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.


optional description?: 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.

"You do not have permission to access the admin panel."

optional title?: string

Defined in: packages/react/src/components/views/UnauthorizedView.tsx:12

Heading shown to the caller.

"Access denied"