import React from 'react'; import cx from 'classnames'; import { TableHeadProps } from './TableHead'; import { TableHeadCellProps } from './TableHeadCell'; import { TableBodyProps } from './TableBody'; import { TableRowProps } from './TableRow'; import { TableCellProps } from './TableCell'; import { TableRowExpandedProps } from './TableRowExpanded'; import { TableExpandedGroupProps } from './TableExpandedGroup'; import { TableExpandedListProps } from './TableExpandedList'; import styles from './Table.module.scss'; export interface TableComposition { Head: React.FC; HeadCell: React.FC; Body: React.FC; Row: React.FC; Cell: React.FC; RowExpanded: React.FC; ExpandedGroup: React.FC; ExpandedList: React.FC; } export interface Props extends Omit, 'className'> { /** Value of table which should be a Table.Head and Table.Body.*/ children: [ React.ReactElement, React.ReactElement ]; /** Accessible name for the Table, which will be visually hidden by default. */ label: string; /** Override table styles by adding a className */ className?: Parameters[0]; } export declare const Table: React.FC & TableComposition; export default Table; export { styles }; //# sourceMappingURL=index.d.ts.map