import type React from "react"; import type { DataTableProps } from "../components/data-table.js"; import type { Icon } from "../icon.js"; /** * One thing a cell can show: a string or a number as text, or one of the SDK's own components. */ type DataTableCellItem = React.JSX.Element | string | number; /** * What a column's `cell` returns for a row: * * - a string or a number, shown as text. Convert a boolean or a `Date` first, like * `value ? "Yes" : "No"` or `Intl.DateTimeFormat`. * - ``, ``, ``, ``, ``, `