import React from "react"; interface DataTableTdProps extends React.TdHTMLAttributes { /** * Sets a max-width on the content wrapper div inside the cell. * This is only needed when using `layout="auto"` together with * `truncateContent` on `` and you want the cell to be truncated. */ contentMaxWidth?: number | `${number}${string}`; /** * TODO: Consider a prop like this instead of contentMaxWidth to use together with layout=auto. * Maybe even with layout=auto as a way to override truncateContent on single cells? * Need to work on the name though. Or maybe have two separate props? */ /** * Content alignment inside cell * @default "left" */ textAlign?: "left" | "center" | "right"; /** * Temp hack to solve overflow and alignment */ UNSAFE_isSelection?: boolean; } declare const DataTableTd: React.ForwardRefExoticComponent>; export { DataTableTd }; export type { DataTableTdProps };