SelectAllButton
Selects every row of the list up to limit; it hides once the selection holds limit ids, 250 by default.
Installation
pnpm dlx shadcn@latest add @chelone/select-all-buttonSelects every row of the list up to limit; it hides once the selection holds limit ids, 250 by default.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| asChild | boolean | — | |
| label | ReactNode | — | |
| limit | number | — | The most rows to select. |
| onClick | () => void | — | |
| size | "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | — | |
| variant | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | — |