React Hookers - v6.3.0
    Preparing search index...

    Interface FormattedInputValue<V>

    A value returned from the useFormattedInput hook.

    interface FormattedInputValue<V> {
        formattedValue: string;
        inputProps: InputHTMLAttributes<HTMLInputElement>;
        isFocused: boolean;
        isFocusVisible: boolean;
        isHovered: boolean;
        labelProps: LabelHTMLAttributes<HTMLElement>;
        value: V;
    }

    Type Parameters

    • V
    Index

    Properties

    formattedValue: string

    A formatted value rendered in an input.

    inputProps: InputHTMLAttributes<HTMLInputElement>

    Props of an element that must have a formatted input behaviour.

    An object which identity never changes between renders.

    isFocused: boolean

    true if an element is currently focused.

    isFocusVisible: boolean

    true if an element is currently focused and focus should be visible.

    isHovered: boolean

    true if an element is currently hovered.

    labelProps: LabelHTMLAttributes<HTMLElement>

    Props of an element that must have an input label behavior.

    An object which identity never changes between renders.

    value: V

    The edited value.