data/@mihcm/ui·v0.21.0·stable
Table
Semantic data table with 5 visual variants (default, bordered, striped, minimal, card). Variant context flows to all sub-components automatically.
Props
The full prop API for Table. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.
| Prop | Type | Default | Description | Since |
|---|---|---|---|---|
variant | 'default' | 'bordered' | 'striped' | 'minimal' | 'card' | 'default' | Visual style variant. Flows to sub-components via React context. | 0.6.0 |
className | string | — | Additional Tailwind classes on the root `<table>` element. | 0.5.0 |
Import
import { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from '@mihcm/ui/Table';