ListButton
Links back to the list view of the current resource.
Installation
pnpm dlx shadcn@latest add @chelone/list-buttonLinks back to the list view of the current resource.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| icon | ReactNode | — | |
| label | string | — | |
| ref | Ref<HTMLAnchorElement> | — | |
| resource | string | — | |
| scrollToTop | boolean | — |