Components

Table

<Table />

Main Table wrapper. Along with TableRow, TableCell, TableCaption, TableHead and TableBody gives you the powerful tool for building tables.

Related Components

  • Table: LayoutProps & standard table html props
  • TableBody: standard tbody html props
  • TableCell: SpaceProps & ColorProps & standard td html props
  • TableHead: standard thead html props
  • TableRow: standard tr html props

Usage

import {
  Table,
  TableRow,
  TableCell,
  TableCaption,
  TableHead,
  TableBody,
} from '@admin-bro/design-system'
See:

View Source admin-bro-design-system/src/atoms/table/table.tsx, line 92

Example