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 { align?: 'inherit' | 'left' | 'center' | 'right' | 'justify'; component?: React.ReactType; numeric?: boolean; padding?: Padding; sortDirection?: SortDirection; variant?: 'head' | 'body' | 'footer'; } export type TableCellBaseProps = React.ThHTMLAttributes & React.TdHTMLAttributes; export type Padding = 'default' | 'checkbox' | 'dense' | 'none'; export type SortDirection = 'asc' | 'desc' | false; export type TableCellClassKey = | 'root' | 'head' | 'body' | 'footer' | 'numeric' | 'paddingDense' | 'paddingCheckbox' | 'paddingNone'; declare const TableCell: React.ComponentType; export default TableCell;