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 the element is currently pressed.

    pressProps: DOMAttributes<Element>

    Props for the element for which press interactions are tracked.

    An object whose identity never changes between renders.