Skip to content

Commit

Permalink
[added] 'xs, sm, md, lg' values for 'bsSize'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKVal committed Jul 26, 2015
1 parent 485b33f commit f410904
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BootstrapMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const BootstrapMixin = {
bsStyle: React.PropTypes.oneOf(styleMaps.STYLES),
/**
* Size variants
* @type {("xsmall"|"small"|"medium"|"large")}
* @type {("xsmall"|"small"|"medium"|"large"|"xs"|"sm"|"md"|"lg")}
*/
bsSize: CustomPropTypes.keyOf(styleMaps.SIZES)
},
Expand Down
6 changes: 5 additions & 1 deletion src/styleMaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ const styleMaps = {
'large': 'lg',
'medium': 'md',
'small': 'sm',
'xsmall': 'xs'
'xsmall': 'xs',
'lg': 'lg',
'md': 'md',
'sm': 'sm',
'xs': 'xs'
},
GLYPHS: [
'asterisk',
Expand Down

0 comments on commit f410904

Please sign in to comment.