diff --git a/packages/main/src/components/ObjectStatus/index.tsx b/packages/main/src/components/ObjectStatus/index.tsx index 15bfa122edf..b177e914b10 100644 --- a/packages/main/src/components/ObjectStatus/index.tsx +++ b/packages/main/src/components/ObjectStatus/index.tsx @@ -100,11 +100,9 @@ export interface ObjectStatusPropTypes extends CommonProps { * * __Note:__ This prop has no effect if `active` is not set to `true`. * - * __Note:__ In order to support legacy code, `HTMLDivElement` is still supported even though the `click` event is never fired if the component isn't `active`. - * * @since 0.16.6 */ - onClick?: MouseEventHandler; + onClick?: MouseEventHandler; } const getStateSpecifics = (state, showDefaultIcon, userIcon, stateAnnouncementText, i18nTexts) => { @@ -223,6 +221,7 @@ const ObjectStatus = forwardRef