withIsPressed FunctionConst

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

withIsPressed<ComponentProps extends { T }>(Component: React.ComponentType<ComponentProps extends { T }>): WithIsPressed

Parameter Type Description
Component React.ComponentType<ComponentProps extends { T }>  

Returns - WithIsPressed

Defined in

Last Updated: 15 June, 2021