Skip to Content
APIInterfacesInterface: ContentFieldConfig<TFieldValues>

Hero Hook Form API v2.15.0


Hero Hook Form API / ContentFieldConfig

Interface: ContentFieldConfig<TFieldValues>

Defined in: types.ts:379 

Type Parameters

TFieldValues

TFieldValues extends FieldValues = FieldValues

Properties

type

type: "content"

Defined in: types.ts:382 


name?

optional name: Path<TFieldValues>

Defined in: types.ts:385 


title?

optional title: string

Defined in: types.ts:387 


description?

optional description: string

Defined in: types.ts:389 


render()?

optional render: (field) => ReactNode

Defined in: types.ts:393 

Parameters

field
form

UseFormReturn<TFieldValues>

errors

FieldErrors<TFieldValues>

isSubmitting

boolean

Returns

ReactNode


className?

optional className: string

Defined in: types.ts:399