import { ShorthandCollection } from '@appbuckets/react-ui-core'; import { UIMutableComponentStrictProps } from '../generic'; import { TableCellProps } from './TableCell.types'; import { TableRowProps } from './TableRow.types'; import { TableHeaderCellProps } from './TableHeaderCell.types'; export interface TableProps extends UIMutableComponentStrictProps> {} export interface StrictTableProps { /** Compress Spacing between cells and rows */ compressed?: boolean; /** Wrap the Table in a scrollable container */ responsive?: boolean; /** Rows Render Shorthand */ rows?: TableRenderRows; /** Set the Table as Sortable */ sortable?: boolean; /** Table Data Collection */ tableData?: Data[]; } export declare type TableRenderRows = { /** Collection of Body Rows */ body?: | ShorthandCollection> | (( record: Data, index: number, array: Data[] ) => ShorthandCollection); /** Collection of Footer Rows */ footer?: ShorthandCollection>; /** Collection of Header Rows */ header?: ShorthandCollection>; };