Skip to content

CheckboxFieldCell

CheckboxFieldCell<TData>(props): Element

Defined in: packages/react/src/fields/checkbox/Cell.tsx:26

Checkbox field cell component for the data-table list view.

Renders a boolean value as "Yes" or "No". Falls back to an em-dash when the value is undefined.

TData extends TDocument = TDocument

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

Component props

Element

The cell content for this field

<CheckboxFieldCell value={doc.published} fieldDef={publishedField} row={row} />