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

    Interface PressValue

    A value returned from the usePress hook.

    interface PressValue {
        isPressed: boolean;
        pressProps: DOMAttributes<Element>;
    }
    Index

    Properties

    isPressed: boolean

    true if an element is currently pressed.

    pressProps: DOMAttributes<Element>

    Props of an element for which press interactions are tracked.

    An object which identity never changes between renders.