mirror of
https://github.com/hanzoai/design.git
synced 2026-10-30 14:58:37 +00:00
The single source of truth for every Hanzo surface: monochrome opacity-ladder tokens (dark-default), self-contained core/forms/overlays/navigation components (each with .d.ts + .prompt.md), the mark/wordmark + provider/partner logos, and the specimen-card guidelines. One import: @hanzoai/design/styles.css.
12 lines
894 B
TypeScript
12 lines
894 B
TypeScript
/** Dense data table. Rows separated by neutral-800 hairlines; header sits on pure black. */
|
|
export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
/** Adds the neutral-900/60 hover fill — use when the row opens something. */
|
|
interactive?: boolean;
|
|
}
|
|
export function Table(props: React.TableHTMLAttributes<HTMLTableElement>): JSX.Element;
|
|
export function TableHeader(props: React.HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
|
|
export function TableBody(props: React.HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
|
|
export function TableRow(props: TableRowProps): JSX.Element;
|
|
export function TableHead(props: React.ThHTMLAttributes<HTMLTableCellElement> & { align?: 'left' | 'right' | 'center' }): JSX.Element;
|
|
export function TableCell(props: React.TdHTMLAttributes<HTMLTableCellElement> & { align?: 'left' | 'right' | 'center' }): JSX.Element;
|