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