Skip to content

Commit dfda073

Browse files
committed
Set default Icon category as standard and make button icon category utility
1 parent 2a54df7 commit dfda073

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/SLDSButton/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class Button extends React.Component {
6767
<button className={this.getClassName()} {...props} onClick={click}>
6868
<Icon
6969
name={this.props.iconName}
70+
category='utility'
7071
size={this.props.iconSize}
7172
className={'slds-icon'} />
7273
<span className="slds-assistive-text">{this.props.label}</span>

components/SLDSIcons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const Icon = React.createClass({
5151

5252
getDefaultProps() {
5353
return {
54-
category: 'utility',
54+
category: 'standard',
5555
};
5656
},
5757

0 commit comments

Comments
 (0)