Interface BaseReactHookFormProps

Defines react-hook-form-chakra specific properties for all components

Hierarchy

Properties

control?: Control<any, any>

The control passed down from react-hook-form. Only required if not using FormProvider

errorMessageProps?: FormErrorMessageProps

Chakra FormErrorMessageProps for error message

helperText?: ReactNode

Helper text to show alongside input

helperTextProps?: TextProps

Chakra TextProps associated with the helper text

label?: ReactNode

The label to be associated with the input

labelProps?: FormLabelProps

Chakra FormLabelProps

name: string

The name of the input (required)

Generated using TypeDoc