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.
Type Parameters
Section titled “Type Parameters”TData extends TDocument = TDocument
Parameters
Section titled “Parameters”CellComponentProps<CheckboxField<string, { }>, TData>
Component props
Returns
Section titled “Returns”Element
The cell content for this field
Example
Section titled “Example”<CheckboxFieldCell value={doc.published} fieldDef={publishedField} row={row} />