Skip to content

UrlFieldCell

UrlFieldCell<TData>(props): Element

Defined in: packages/react/src/fields/url/Cell.tsx:25

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

Always renders the value as a VexLink. For title fields the link navigates to the document edit page; for non-title fields the link navigates to the URL value itself. Values longer than 77 characters are truncated with the full URL shown on hover via the title attribute.

TData extends TDocument = TDocument

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

Component props.

Element

The cell component for this field type.

<UrlFieldCell value={doc.website} fieldDef={websiteField} row={row} isTitleField={false} />