AccessDenied
The splash shown when a user lacks access to a page.
Installation
pnpm dlx shadcn@latest add @chelone/access-deniedThe splash shown when a user lacks access to a page.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| icon | ReactNode | — | |
| textPrimary | string | — | i18n key for the heading. Defaults to `ra.page.access_denied`. |
| textSecondary | string | — | i18n key for the sub-text. Defaults to `ra.message.access_denied`. |