{this.renderIcon(level)}
{intl.formatMessage(intlMessages.label)}
{(level === 'critical' || level === 'danger') || isSettingsMenuModalOpen
? (
{intl.formatMessage(intlMessages.settings)}
{isSettingsMenuModalOpen ? this.setSettingsMenuModalIsOpen(false),
priority: "medium",
setIsOpen: this.setSettingsMenuModalIsOpen,
isOpen: isSettingsMenuModalOpen,
}}
/> : null}
)
: (
)
}
);
}
}
export default injectIntl(ConnectionStatusIcon);