import type { Property } from "csstype"; import type { ReactElement } from "react"; import type { TextAlignment, MQ } from "../../types"; export type DataTableRow = { id: string; [key: string]: any; }; export type DataTableColumn = { name: string; label: string; align?: TextAlignment | MQ; width?: string | MQ; toggletipContent?: ReactElement; isSortable?: boolean; sortDirection?: "asc" | "desc"; renderCell?: (row: DataTableRow) => React.ReactElement; }; export type DataTableRowProps = { verticalAlign?: Property.VerticalAlign; isActive?: boolean; isSelectable?: boolean; selectRowCheckboxAriaLabel?: string; };