Function usePressable

  • Handles hover, focus and press interactions across mouse, touch, keyboard, and screen readers.

    This hook is a combination of useHover, usePress and useFocus hooks.

    Parameters

    Returns PressableValue

    An object which identity never changes between renders.