JsonFieldCell
JsonFieldCell<
TData>(props):Element
Defined in: packages/react/src/fields/json/Cell.tsx:40
JSON field cell component for the data-table list view.
Renders a truncated one-line JSON.stringify preview of the stored value.
Null/undefined values show an em-dash placeholder. The full serialized
value is always available on the title attribute.
Type Parameters
Section titled “Type Parameters”TData extends TDocument = TDocument
Parameters
Section titled “Parameters”CellComponentProps<JsonField<string, BaseFieldMeta>, TData>
Component props.
Returns
Section titled “Returns”Element
The Cell component for this field type.
Example
Section titled “Example”<JsonFieldCell value={doc.settings} fieldDef={settingsField} row={row} />