import * as React from 'react'; import { ITable } from '../../interfaces'; import { column, rowSize } from './Table.types'; interface TableProps extends ITable { /** * Data Source of Table */ dataSource?: object[]; /** * Size of Table's row * @default 'default' */ rowSize?: rowSize; /** * Fix size of column * @default false */ fixed?: boolean; /** * Column of Table. dataIndex property must matched with each dataSource's properties */ columns?: column[]; /** * Callback function, when row is clicked */ onRowClick?: (dataSource: any) => void; /** * Loading status of table */ loading?: boolean; /** * Rendered when dataSource is empty */ noData?: React.ReactNode; /** * Additional classes */ className?: string; } export declare class Table extends React.PureComponent { static defaultProps: { rowSize: string; fixed: boolean; }; handleRowClick: (e: any, d: any) => void; render(): JSX.Element; } export {};