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