@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
38 lines • 1.39 kB
TypeScript
import * as React from 'react';
import { SxProps } from '@mui/system';
import { Theme } from "../index.js";
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
import { TableContainerClasses } from "./tableContainerClasses.js";
export interface TableContainerOwnProps {
/**
* The content of the component, normally `Table`.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<TableContainerClasses>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
}
export interface TableContainerTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div'> {
props: AdditionalProps & TableContainerOwnProps;
defaultComponent: RootComponent;
}
/**
*
* Demos:
*
* - [Table](https://mui.com/material-ui/react-table/)
*
* API:
*
* - [TableContainer API](https://mui.com/material-ui/api/table-container/)
*/
declare const TableContainer: OverridableComponent<TableContainerTypeMap>;
export type TableContainerProps<RootComponent extends React.ElementType = TableContainerTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TableContainerTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
component?: React.ElementType;
};
export default TableContainer;