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

= React.FC

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