mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
12 lines
894 B
Plaintext
12 lines
894 B
Plaintext
/** 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;
|