import * as React from 'react'; import { SxProps } from '@mui/system'; import { Theme } from '..'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; import { TableBodyClasses } from './tableBodyClasses'; export interface TableBodyOwnProps { /** * The content of the component, normally `TableRow`. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; } export interface TableBodyTypeMap< AdditionalProps = {}, RootComponent extends React.ElementType = 'tbody', > { props: AdditionalProps & TableBodyOwnProps; defaultComponent: RootComponent; } /** * * Demos: * * - [Table](https://mui.com/material-ui/react-table/) * * API: * * - [TableBody API](https://mui.com/material-ui/api/table-body/) */ declare const TableBody: OverridableComponent; export type TableBodyProps< RootComponent extends React.ElementType = TableBodyTypeMap['defaultComponent'], AdditionalProps = {}, > = OverrideProps, RootComponent> & { component?: React.ElementType; }; export default TableBody;