import * as React from 'react'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; export type Padding = 'default' | 'checkbox' | 'none'; export type Size = 'small' | 'medium'; export interface TableTypeMap
{
props: P & {
/**
* The content of the table, normally `TableHead` and `TableBody`.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: {
/** Styles applied to the root element. */
root?: string;
/** Styles applied to the root element if `stickyHeader={true}`. */
stickyHeader?: string;
};
/**
* Allows TableCells to inherit padding of the Table.
* @default 'default'
*/
padding?: Padding;
/**
* Allows TableCells to inherit size of the Table.
* @default 'medium'
*/
size?: Size;
/**
* Set the header sticky.
*
* ⚠️ It doesn't work with IE11.
* @default false
*/
stickyHeader?: boolean;
};
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Tables](https://material-ui.com/components/tables/)
*
* API:
*
* - [Table API](https://material-ui.com/api/table/)
*/
declare const Table: OverridableComponent