import * as React from 'react'; import * as PropTypes from 'prop-types'; import { StandardProps } from '..'; export declare type TableClassProps = 'root' | 'headRoot' | 'bodyRoot' | 'footRoot' | 'rowRoot' | 'rowBody' | 'cellRoot' | 'headCellRoot' | 'cellTextAlignLeft' | 'cellTextAlignRight' | 'cellTextAlignCenter' | 'cellTextAlignJustify'; export interface DataType { key: string; [name: string]: React.ReactText; } export interface ColumnsType { field: string; title: string; render?: (text: React.ReactText, record?: T, index?: number) => React.ReactElement; } export interface TableProps extends StandardProps, HTMLTableElement> { data?: T[]; columns?: ColumnsType[]; children?: React.ReactElement | React.ReactElement[]; } export declare type TextAlign = 'inherit' | 'left' | 'center' | 'right' | 'justify'; export interface TableCellProps extends StandardProps, HTMLTableCellElement> { textAlign?: TextAlign; children: React.ReactChild; } export declare const TablePropTypes: { data: PropTypes.Requireable; columns: PropTypes.Requireable; children: PropTypes.Requireable; };