Skip to Content
ContentAPIInterfacesInterface: ContentFieldConfig<TFieldValues>

Hero Hook Form API v2.5.1


Hero Hook Form API / ContentFieldConfig

Interface: ContentFieldConfig<TFieldValues>

Defined in: types.ts:216 

Type Parameters

TFieldValues

TFieldValues extends FieldValues = FieldValues

Properties

type

type: "content"

Defined in: types.ts:219 


name?

optional name: string

Defined in: types.ts:222 


title?

optional title: string

Defined in: types.ts:224 


description?

optional description: string

Defined in: types.ts:226 


render()?

optional render: (field) => ReactNode

Defined in: types.ts:230 

Parameters

field
form

UseFormReturn<TFieldValues>

errors

FieldErrors<TFieldValues>

isSubmitting

boolean

Returns

ReactNode


className?

optional className: string

Defined in: types.ts:236