import * as React from 'react'; import { StandardProps } from '..'; /** * `` will be rendered as an ``or `` depending * on the context it is used in. Where context literally is the * React `context`. * * Since it is not decided via prop, we have create loose typings * here. */ export interface TableCellProps extends StandardProps { component?: React.ReactType; numeric?: boolean; padding?: Padding; sortDirection?: SortDirection; type?: Type; } export type TableCellBaseProps = React.ThHTMLAttributes & React.TdHTMLAttributes; export type Padding = 'default' | 'checkbox' | 'dense' | 'none'; export type SortDirection = 'asc' | 'desc' | false; export type Type = 'head' | 'body' | 'footer'; export type TableCellClassKey = | 'root' | 'numeric' | 'typeHead' | 'typeBody' | 'typeFooter' | 'paddingDefault' | 'paddingDense' | 'paddingCheckbox'; declare const TableCell: React.ComponentType; export default TableCell;