UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

30 lines (29 loc) 903 B
/** * MSKCC DSM 2021, 2023 */ import PropTypes from 'prop-types'; import { ReactAttr } from '../../types/common'; interface TableExpandedRowProps extends ReactAttr<HTMLTableRowElement> { /** * The width of the expanded row's internal cell */ colSpan: number; } declare const TableExpandedRow: { ({ className: customClassName, children, colSpan, ...rest }: TableExpandedRowProps): JSX.Element; propTypes: { /** * Pass in the contents for your TableExpandedRow */ children: PropTypes.Requireable<PropTypes.ReactNodeLike>; /** * Specify an optional className to be applied to the container node */ className: PropTypes.Requireable<string>; /** * The width of the expanded row's internal cell */ colSpan: PropTypes.Validator<number>; }; }; export default TableExpandedRow;