AccessDenied

The splash shown when a user lacks access to a page.

Installation

pnpm dlx shadcn@latest add @chelone/access-denied

The splash shown when a user lacks access to a page.

Props

PropTypeDefaultDescription
classNamestring—
iconReactNode—
textPrimarystring—i18n key for the heading. Defaults to `ra.page.access_denied`.
textSecondarystring—i18n key for the sub-text. Defaults to `ra.message.access_denied`.