Interface UseHTMLCheckboxReturn<Values, Name>

Type Parameters

  • Values extends BaseValues

  • Name extends ValuesFields<Values>

Hierarchy

Properties

checked: boolean
disabled: boolean
name: Name
onBlur: (() => void)

Type declaration

    • (): void
    • Returns void

onChange: DeepIndex<Values, Name> extends boolean ? ((event: ChangeEvent<HTMLInputElement>) => void) : never
onFocus: (() => void)

Type declaration

    • (): void
    • Returns void

ref: MutableRefObject<any>
type: "checkbox"
value: Name

Generated using TypeDoc