import React, { ReactNode } from "react"; import { BorderThickness } from "../table.component"; export interface TableRowProps { /** * The content of the table row. */ children: ReactNode; /** * Controls whether the table row is expanded. When omitted, the row manages * its own expansion state and is initially collapsed. */ isExpanded?: boolean; /** * Callback fired with the requested expansion state when the disclosure * control is activated. */ onExpansionChange?: (isExpanded: boolean) => void; /** * Indicates whether the table row is selected. */ isSelected?: boolean; /** * The sub-rows of the expandable table row. */ subRows?: ReactNode; /** * The border thickness of the table row. */ borderThickness?: BorderThickness; /** * The id attribute for the table row. */ id: string; /** * @ignore @private * Internal props, set by parent `FlatTableBodyDraggable`, for enabling drag and drop behaviour on the row. */ draggableProps?: { index: number; }; } declare const TableRow: React.ForwardRefExoticComponent>; export default TableRow;