withIsPressed Function
withIsPressed is a React higher-order component that adds pointer and mouse events.
withIsPressed(Component: ComponentType<ComponentProps>):
Parameter | Type | Description |
---|---|---|
Component | ComponentType<ComponentProps> |
Returns -
Defined in
Last Updated: 13 May, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.