UNPKG

763 BTypeScriptView Raw
1import * as React from 'react';
2import { OverridableComponent, OverrideProps, OverridableTypeMap } from '../OverridableComponent';
3
4export interface TableBodyTypeMap<P extends {} = {}, D extends React.ElementType = 'tbody'>
5 extends OverridableTypeMap {
6 props: P;
7 defaultComponent: D;
8 classKey: TableBodyClassKey;
9}
10/**
11 *
12 * Demos:
13 *
14 * - [Tables](https://mui.com/components/tables/)
15 *
16 * API:
17 *
18 * - [TableBody API](https://mui.com/api/table-body/)
19 */
20declare const TableBody: OverridableComponent<TableBodyTypeMap>;
21
22export type TableBodyClassKey = 'root';
23
24export type TableBodyProps<
25 D extends React.ElementType = TableBodyTypeMap['defaultComponent'],
26 P extends {} = {}
27> = OverrideProps<TableBodyTypeMap<P, D>, D>;
28
29export default TableBody;