RelationshipField
RelationshipField<
TFieldMeta,TCollectionSlug> =RelationshipField<TFieldMeta,TCollectionSlug,ReactHKT>
Defined in: packages/react/src/index.ts:159
Resolved relationship field type with the React component slot bound.
Identical to @vexcms/core’s RelationshipField<TCollectionSlug> except
admin.components.preview is typed as ComponentType<RelationshipPreviewProps<TCollectionSlug>>.
Type Parameters
Section titled “Type Parameters”TFieldMeta
Section titled “TFieldMeta”TFieldMeta extends object = { }
TCollectionSlug
Section titled “TCollectionSlug”TCollectionSlug extends CollectionSlug = CollectionSlug