import React from 'react'; import { MestCss, MestGenericProps } from "../themes"; import { DefaultRecordType, TableColumn } from "./types"; type Props = { data: Array; columns: Array>; renderExpandable?: (record: T) => JSX.Element; onHeaderClick?: () => void; onRowClick?: (row: T, index: number) => void; rowCss?: MestCss; headCss?: MestCss; expandableCss?: MestCss; striped?: boolean; } & MestGenericProps; type NativeAttrs = Omit, keyof Props>; export type TableProps = Props & NativeAttrs; declare const Table: { (props: TableProps): JSX.Element; displayName: string; }; export default Table;