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: 20 June, 2023