@carbon/react
Version:
React components for the Carbon Design System
33 lines (32 loc) • 1.09 kB
TypeScript
/**
* Copyright IBM Corp. 2016, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import PropTypes from 'prop-types';
import { type HTMLAttributes } from 'react';
export interface TableExpandedRowProps extends HTMLAttributes<HTMLTableRowElement> {
/**
* The width of the expanded row's internal cell
*/
colSpan: number;
}
declare const TableExpandedRow: {
({ className: customClassName, children, colSpan, ...rest }: TableExpandedRowProps): import("react/jsx-runtime").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;