A deprecated table cell component that displays a timestamp with an optional ID label below it, designed for use in table rows. ## Key Components ### `TableTimestampCell` *(deprecated — use `data-table` instead)* The primary exported component renders a two-line cell: a formatted timestamp on top and an ID (with optional label) below. ### `TableTimestampCellProps` *(deprecated)* | Prop | Type | Default | Description | |---|---|---|---| | `timestamp` | `string \| Date` | — | Timestamp to display; accepts `Date`, ISO string, or pre-formatted string | | `id` | `string` | — | ID displayed below the timestamp | | `idLabel` | `string` | — | Optional label prefix (e.g. `"Log ID"`) | | `className` | `string` | — | Additional CSS classes for the container | | `formatTimestamp` | `boolean` | `true` | Auto-formats ISO strings and `Date` objects via `toLocaleString()` | ### `formatTimestampValue` *(internal)* Formats a `string | Date` value for display: - `Date` instances → `toLocaleString()` - ISO strings → parsed and formatted via `toLocaleString()` - Already-formatted strings (containing `,` or `/` + `:`) → returned as-is - Unparseable values → returned as-is via `String()` ## Usage Example ```typescript import { TableTimestampCell } from './table-timestamp-cell' // With ISO string and a labeled ID // With a pre-formatted string and no label ``` > ⚠️ **Deprecated:** This component is superseded by the [`data-table`](https://github.com/flamingo-stack/openframe-oss-lib/blob/main/src) primitive. Migrate existing usages when possible.