withIsPressed FunctionConst
withIsPressed is a React higher-order component that adds pointer and mouse events.
withIsPressed<ComponentProps extends object>(Component: React.ComponentType<ComponentProps extends object>): WithIsPressed
Parameter | Type | Description |
---|---|---|
Component | React.ComponentType<ComponentProps extends object> |
Defined in
Last Updated: 23 April, 2020