TextFieldCell
TextFieldCell<
TData>(props):Element
Defined in: packages/react/src/fields/text/Cell.tsx:23
Text field cell component for the data-table list view.
Renders the string value of a text field. Null/undefined/empty-string values
show an em-dash placeholder. Values longer than 77 characters are truncated
with the full text shown on hover via the title attribute.
Type Parameters
Section titled “Type Parameters”TData extends TDocument = TDocument
Parameters
Section titled “Parameters”CellComponentProps<TextField<string, { }>, TData>
Component props
Returns
Section titled “Returns”Element
The Cell Component for this field type
Example
Section titled “Example”<TextFieldCell value={doc.title} fieldDef={titleField} row={row} />