import * as React from 'react';
import { OverridableComponent, OverrideProps } from '../OverridableComponent';
export interface TableRowTypeMap
{
props: P & {
/**
* Should be valid
children such as `TableCell`.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: {
/** Styles applied to the root element. */
root?: string;
/** Pseudo-class applied to the root element if `selected={true}`. */
selected?: string;
/** Pseudo-class applied to the root element if `hover={true}`. */
hover?: string;
/** Styles applied to the root element if table variant="head". */
head?: string;
/** Styles applied to the root element if table variant="footer". */
footer?: string;
};
/**
* If `true`, the table row will shade on hover.
* @default false
*/
hover?: boolean;
/**
* If `true`, the table row will have the selected shading.
* @default false
*/
selected?: boolean;
};
defaultComponent: D;
}
/**
* Will automatically set dynamic row height
* based on the material table element parent (head, body, etc).
* Demos:
*
* - [Tables](https://material-ui.com/components/tables/)
*
* API:
*
* - [TableRow API](https://material-ui.com/api/table-row/)
*/
declare const TableRow: OverridableComponent;
export type TableRowClassKey = keyof NonNullable;
export type TableRowProps<
D extends React.ElementType = TableRowTypeMap['defaultComponent'],
P = {}
> = OverrideProps, D>;
export default TableRow;