'use client'; import * as React from 'react'; import { cn } from '../../shared/utils'; /** * Primary container for tabular data display. * * @description * Wraps an HTML `
| `, ` | ` elements directly.
* 2. Always import and compose: `Table > TableHeader > TableRow > TableHead` and `Table > TableBody > TableRow > TableCell`.
* 3. Numeric or monetary values inside `| [role=checkbox]]:translate-y-[2px]',
className
)}
{...props}
/>
);
}
function TableCell({ className, ...props }: React.ComponentProps<'td'>) {
return (
| [role=checkbox]]:translate-y-[2px]',
className
)}
{...props}
/>
);
}
function TableCaption({ className, ...props }: React.ComponentProps<'caption'>) {
return (
| |
|---|