Skip to content

Commit f410904

Browse files
committed
[added] 'xs, sm, md, lg' values for 'bsSize'
1 parent 485b33f commit f410904

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/BootstrapMixin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const BootstrapMixin = {
1616
bsStyle: React.PropTypes.oneOf(styleMaps.STYLES),
1717
/**
1818
* Size variants
19-
* @type {("xsmall"|"small"|"medium"|"large")}
19+
* @type {("xsmall"|"small"|"medium"|"large"|"xs"|"sm"|"md"|"lg")}
2020
*/
2121
bsSize: CustomPropTypes.keyOf(styleMaps.SIZES)
2222
},

src/styleMaps.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ const styleMaps = {
4040
'large': 'lg',
4141
'medium': 'md',
4242
'small': 'sm',
43-
'xsmall': 'xs'
43+
'xsmall': 'xs',
44+
'lg': 'lg',
45+
'md': 'md',
46+
'sm': 'sm',
47+
'xs': 'xs'
4448
},
4549
GLYPHS: [
4650
'asterisk',

0 commit comments

Comments
 (0)