import React from 'react'; import TableColumn from "./table-column"; import { TableOperation } from "./table-cell"; export declare type TableOnRow = (row: any, index: number) => void; export declare type TableOnCell = (cell: any, index: number, colunm: number) => void; export declare type TableOnChange = (data: any) => void; export declare type TableDataSource = T & { operation?: TableOperation; }; interface Props { data?: Array>; emptyText?: string; hover?: boolean; onRow: TableOnRow; onCell: TableOnCell; onChange: TableOnChange; className?: string; } declare const defaultProps: { hover: boolean; emptyText: string; onRow: TableOnRow; onCell: TableOnCell; onChange: TableOnChange; className: string; }; declare type NativeAttrs = Omit, keyof Props>; export declare type TableProps = Props & typeof defaultProps & NativeAttrs; declare type TableComponent

= React.FC

& { Column: typeof TableColumn; }; declare type ComponentProps = Partial & Omit & NativeAttrs; declare const _default: TableComponent; export default _default;