Skip to content

Commit 138c839

Browse files
committed
fix indent
1 parent 1ca99f3 commit 138c839

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/scripts/Icon.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ export default class Icon extends Component {
144144
{
145145
'slds-icon': !/slds\-button__icon/.test(className),
146146
[`slds-icon--${size}`]: /^(x-small|small|medium|large)$/.test(size),
147-
[`slds-icon-text-${textColor}`]: /^(default|warning|error)$/.test(textColor) &&
148-
!iconColor,
147+
[`slds-icon-text-${textColor}`]: /^(default|warning|error)$/.test(textColor) && !iconColor,
149148
[`slds-icon-${iconColor}`]: !container && iconColor,
150149
'slds-m-left--x-small': align === 'right',
151150
'slds-m-right--x-small': align === 'left',

0 commit comments

Comments
 (0)