Skip to content

Commit 0f1f9be

Browse files
committed
even more cleanup
1 parent 25c359b commit 0f1f9be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/SLDSIcons.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ export const ButtonIcon = React.createClass({
4343
if (this.props.hint) {
4444
className = className + ' slds-button__icon--hint';
4545
}
46+
if(this.props.category === 'utility'){
47+
return <SLDSUtilityIcon name={this.props.name} aria-hidden='true' className={className} />;
48+
}
4649
return <svg aria-hidden='true' className={className} dangerouslySetInnerHTML={{__html: useTag }} />;
4750
}
4851

0 commit comments

Comments
 (0)