import { textAlign } from "../utils/styleProps.cjs"; import { ReactNode } from "react"; import RAC from "react-aria-components"; type RemovedProps = 'className' | 'style' | 'children' | 'render'; export interface TableCellProps extends Omit { /** * The content of the cell. */ children?: ReactNode; /** * Text that names the row for type to select and screen readers. Derived from * plain string or number content, so set it only for composite content in a * `rowHeader` column. */ textValue?: RAC.CellProps['textValue']; /** * Horizontal text alignment of the cell content. * @default 'left' */ alignX?: keyof typeof textAlign; /** * Text overflow behavior for this specific cell. Overrides the table-level overflow setting. * @default undefined (inherits from table) */ overflow?: 'truncate' | 'wrap'; } export {};