Skip to content

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.

TData extends TDocument = TDocument

CellComponentProps<DateField<string, { }>, TData>

Component props

Element

The Cell Component for this field type

<DateFieldCell value={doc.publishedAt} fieldDef={publishedAtField} row={row} />