Hex Core JS
    Preparing search index...

    Type Alias BooleanButtonInputProps

    BooleanButtonInputProps: {
        autoFocus?: boolean;
        disabled?: boolean;
        id?: string;
        invalid?: boolean;
        label?: string;
        name?: string;
        onBlur?: () => void;
        onFocus?: () => void;
        setValue: (value: BooleanFieldValue) => void;
        sideEffect?: (v: BooleanFieldValue) => void;
        value: BooleanFieldValue;
    } & Partial<ClassNameProps & StyleProps & ChildrenProps>

    Type Declaration

    • OptionalautoFocus?: boolean

      Indicates if the input should be auto-focused.

    • Optionaldisabled?: boolean

      Indicates if the input is disabled.

    • Optionalid?: string

      The ID of the input.

    • Optionalinvalid?: boolean

      Indicates if the input is invalid.

    • Optionallabel?: string

      The label on the button. Overridden by children if provided.

    • Optionalname?: string

      The name of the input.

    • OptionalonBlur?: () => void

      A callback function to call when focus is removed from the input.

    • OptionalonFocus?: () => void

      A callback function to call when the input becomes focused.

    • setValue: (value: BooleanFieldValue) => void

      A callback function to update the input value when a change happens.

    • OptionalsideEffect?: (v: BooleanFieldValue) => void

      A side effect function to call when the value changes as a result of user interaction with this input, and not external updates to the field value.

    • value: BooleanFieldValue

      The value of the input.