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

    Interface PressableValue

    A value returned from the usePressable hook.

    interface PressableValue {
        isFocused: boolean;
        isFocusVisible: boolean;
        isHovered: boolean;
        isPressed: boolean;
        pressableProps: DOMAttributes<Element>;
    }
    Index

    Properties

    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.

    isPressed: boolean

    true if an element is currently pressed.

    pressableProps: DOMAttributes<Element>

    Props of an element for which pressable events are tracked.

    An object which identity never changes between renders.