import React from "react"; import { BorderThickness } from "../table.component"; export interface TableCellProps extends Pick, "colSpan" | "rowSpan"> { /** * The content of the table cell. */ children: React.ReactNode; /** * The alignment of the table cell content. */ align?: "left" | "right" | "center"; /** * @private @ignore @internal * Specifies whether the table is expandable. This will render an expand/collapse button within the cell. */ isExpandable?: boolean; /** * @private @ignore @internal * Specifies whether the table cell is draggable. This will render a drag handle within the cell. */ isDraggable?: boolean; /** * @private @ignore @internal * Specifies whether the table cell is a sub-row. This will render a spacer within the cell. */ isSubRow?: boolean; /** * @private @ignore @internal * Specifies the IDs of the sub-rows controlled by this table cell when it is expandable. */ subRowIds?: string; /** * The id attribute for the table cell. */ id?: string; /** * Override the vertical border thickness of the table cell. */ borderThickness?: BorderThickness; /** * The HTML element to render the table cell as. */ as?: "td" | "th"; /** * The scope attribute specifies the set of data cells for which the header cell provides header information. */ scope?: "row" | "col" | "rowgroup" | "colgroup"; /** * @internal @private @ignore * The ref for the drag handle element within the table cell. */ dragHandleRef?: React.Ref; } declare const TableCell: React.ForwardRefExoticComponent>; export default TableCell;