Appearance
Table
Primitive table ngữ nghĩa.
ts
import { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from "@minap/ui";Examples
Mẫu sống trong Preview; chọn View code khi cần copy.
Usage
tsx
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@minap/ui";
export function Example() {
return (
<>
<Table>
<TableHeader>
<TableRow>
<TableHead>Name</TableHead>
<TableHead>Status</TableHead>
</TableRow>
</TableHeader>
<TableBody>
<TableRow>
<TableCell>Alpha</TableCell>
<TableCell>Ready</TableCell>
</TableRow>
</TableBody>
</Table>
</>
);
}Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
className | string | — | Trên từng phần |
Behavior
- TableFooter / TableCaption