API Reference > ui-core > Common > WithIsPressedProps WithIsPressedProps Interface Properties for withIsPressed React higher-order component Methods Name Description onIsPressedChange(isPressed: boolean): void Optional callback function for [isPressed] change Properties Name Type Description isPressed undefined | boolean initial value for pressed status Defined in ui/core/src/ui-core/hocs/withIsPressed.tsx Line 14 Last Updated: 12 June, 2024