API Reference > ui-core > Common > withIsPressed 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 ui/core/src/ui-core/hocs/withIsPressed.tsx Line 24 Last Updated: 12 June, 2024