Hex Core JS
    Preparing search index...

    Type Alias FormEditButtonPairProps<FV>

    FormEditButtonPairProps: {
        alwaysShow?: boolean;
        buttonProps?: Partial<Omit<ButtonProps, "onClick">>;
        disabled?: boolean;
        editButtonProps?: Partial<Omit<ButtonProps, "onClick">>;
        formState: FormEditButtonPairFormStateFragment<FV>;
        stopEditingButtonProps?: Partial<Omit<ButtonProps, "onClick">>;
    } & Partial<ClassNameProps & StyleProps>

    Type Parameters

    Type Declaration

    • OptionalalwaysShow?: boolean

      Controls whether the buttons should always be shown, regardless of the form's edit mode.

    • OptionalbuttonProps?: Partial<Omit<ButtonProps, "onClick">>

      Props to provide to both buttons.

    • Optionaldisabled?: boolean

      Independent disabled control for the buttons.

    • OptionaleditButtonProps?: Partial<Omit<ButtonProps, "onClick">>

      Props to provided to only the "Edit" button.

    • formState: FormEditButtonPairFormStateFragment<FV>

      The state of the form.

    • OptionalstopEditingButtonProps?: Partial<Omit<ButtonProps, "onClick">>

      Props to provided to only the "Stop Editing" button.