diff --git a/src/lib/components/RoundedIcon/RoundedIcon.js b/src/lib/components/RoundedIcon/RoundedIcon.js index a13a451e..43d715a8 100644 --- a/src/lib/components/RoundedIcon/RoundedIcon.js +++ b/src/lib/components/RoundedIcon/RoundedIcon.js @@ -24,28 +24,18 @@ import TextTooltipTemplate from '../TooltipTemplate/TextTooltipTemplate' import './roundedIcon.scss' const RoundedIcon = React.forwardRef( - ( - { children, className, disabled, id, isActive, onClick, tooltipText }, - ref - ) => { + ({ children, className, disabled, id, isActive, onClick, tooltipText }, ref) => { const wrapperClassNames = classNames('round-icon-cp', className) const IconClassNames = classNames( 'round-icon-cp__circle', - isActive && 'round-icon-cp__circle-active' + isActive && 'round-icon-cp__circle-active', + disabled && 'round-icon-cp__circle-disabled' ) return (