import type { TableProps } from './table'; import { Table as TableRoot } from './table'; import type { TableBodyProps } from './table-body'; import { TableBody } from './table-body'; import type { TableCellProps } from './table-cell'; import { TableCell } from './table-cell'; import type { TableFootProps } from './table-foot'; import { TableFoot } from './table-foot'; import type { TableHeadProps } from './table-head'; import { TableHead } from './table-head'; import type { TableHeaderCellProps } from './table-header-cell'; import { TableHeaderCell } from './table-header-cell'; import type { TableRowProps } from './table-row'; import { TableRow } from './table-row'; type Table = typeof TableRoot & { /** * TableHead component, used to display the header of a table. Renders a native HTML thead element. * * @example * * * Name * Age * * */ Head: typeof TableHead; /** * Table.Body component, used to display the body of a table. Renders a native HTML tbody element. * * @example * * * John * 25 * * */ Body: typeof TableBody; /** * Table.Row component, used to display the rows of a table. Renders a native HTML tr element. * * @example * * John * 25 * */ Row: typeof TableRow; /** * Table.Cell component, used to display the cells of a table. Renders a native HTML td element. * * @example * John */ Cell: typeof TableCell; /** * Table.HeaderCell component, used to display the header cells of a table. Renders a native HTML th element. * * @example * Name */ HeaderCell: typeof TableHeaderCell; /** * Table.Foot component, used to display the footer of a table. Renders a native HTML tfoot element. * * @example * * * Total * 2 * * */ Foot: typeof TableFoot; }; /** * Table component, used to display tabular data. Renders a native HTML table element. * * @example * * * * Name * Age * * * * * John * 25 * * * * * Total * 2 * * *
*/ declare const TableComponent: Table; export type { TableBodyProps, TableCellProps, TableFootProps, TableHeaderCellProps, TableHeadProps, TableProps, TableRowProps, }; export { TableBody, TableCell, TableComponent as Table, TableFoot, TableHead, TableHeaderCell, TableRow, }; //# sourceMappingURL=index.d.ts.map