withIsPressed Function

withIsPressed is a React higher-order component that adds pointer and mouse events.

withIsPressed<ComponentProps extends { T }>(Component: ComponentType<ComponentProps>): undefined

Parameter Type Description
Component ComponentType<ComponentProps>  

Defined in

Last Updated: 11 June, 2024