DateFieldCell
DateFieldCell<
TData>(props):Element
Defined in: packages/react/src/fields/date/Cell.tsx:29
Date field cell component for the data-table list view.
Renders a Unix ms timestamp via formatDateFieldValue — date-only
when fieldDef.time.hidden, date+time otherwise.
Type Parameters
Section titled “Type Parameters”TData extends TDocument = TDocument
Parameters
Section titled “Parameters”CellComponentProps<DateField<string, { }>, TData>
Component props
Returns
Section titled “Returns”Element
The Cell Component for this field type
Example
Section titled “Example”<DateFieldCell value={doc.publishedAt} fieldDef={publishedAtField} row={row} />