Skip to content

Commit 58ea599

Browse files
author
Jeffrey Hicks
authored
Merge branch 'master' into master
2 parents 754fca3 + b90d9c6 commit 58ea599

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/Icon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export default class Icon extends Component {
141141
const iconClassNames = classnames(
142142
{
143143
'slds-icon': !/slds\-button__icon/.test(className),
144-
[`slds-icon--${size}`]: /^(x-small|small|large)$/.test(size),
144+
[`slds-icon--${size}`]: /^(x-small|small|medium|large)$/.test(size),
145145
[`slds-icon-text-${textColor}`]: /^(default|warning|error)$/.test(textColor) &&
146146
!iconColor,
147147
[`slds-icon-${iconColor}`]: !container && iconColor,
@@ -196,7 +196,7 @@ Icon.propTypes = {
196196
containerClassName: PropTypes.string,
197197
category: PropTypes.oneOf(['action', 'custom', 'doctype', 'standard', 'utility']),
198198
icon: PropTypes.string,
199-
size: PropTypes.oneOf(['x-small', 'small', 'large']),
199+
size: PropTypes.oneOf(['x-small', 'small', 'medium', 'large']),
200200
container: PropTypes.oneOfType([
201201
PropTypes.bool,
202202
PropTypes.oneOf(['default', 'circle']),

0 commit comments

Comments
 (0)