1 | import * as React from 'react';
|
2 | import { SxProps } from '@mui/system';
|
3 | import { Theme } from '..';
|
4 | import { OverridableComponent, OverrideProps } from '../OverridableComponent';
|
5 | import { TableContainerClasses } from './tableContainerClasses';
|
6 |
|
7 | export interface TableContainerOwnProps {
|
8 | |
9 |
|
10 |
|
11 | children?: React.ReactNode;
|
12 | |
13 |
|
14 |
|
15 | classes?: Partial<TableContainerClasses>;
|
16 | |
17 |
|
18 |
|
19 | sx?: SxProps<Theme>;
|
20 | }
|
21 |
|
22 | export interface TableContainerTypeMap<
|
23 | AdditionalProps = {},
|
24 | RootComponent extends React.ElementType = 'div',
|
25 | > {
|
26 | props: AdditionalProps & TableContainerOwnProps;
|
27 | defaultComponent: RootComponent;
|
28 | }
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 | declare const TableContainer: OverridableComponent<TableContainerTypeMap>;
|
40 |
|
41 | export type TableContainerProps<
|
42 | RootComponent extends React.ElementType = TableContainerTypeMap['defaultComponent'],
|
43 | AdditionalProps = {},
|
44 | > = OverrideProps<TableContainerTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
45 | component?: React.ElementType;
|
46 | };
|
47 |
|
48 | export default TableContainer;
|