Table Group

Rows grouped under a header that folds them away: issues by status, orders by day.

The snippet an agent gets

TableGroup.tsx
import { TableGroup, TableCell, TableRow } from '@basiiik/ui';<TableGroup label="In review" columns={4}><TableRow><TableCell>Cache map tiles</TableCell></TableRow></TableGroup>

From get_component_snippet, with the required props filled in from the spec. Every snippet is type-checked against the library before it ships.

  • Example values were filled in for the required props label, columns: replace them with your own.
  • Values in braces are your own variables, handlers or data, such as const [open, setOpen] = useState(false).
  • Open follows open or defaultOpen (default open); Hover and Focused are CSS on the fold button.
  • Compose with: table-row.
  • Storybook: Data display/Table group.