withIsPressed FunctionConst

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

withIsPressed<ComponentProps extends __type>(Component: React.ComponentType<ComponentProps extends __type>): WithIsPressed

Parameter Type Description
Component React.ComponentType<ComponentProps extends __type>  

Defined in

Last Updated: 20 September, 2019