mirror of
https://github.com/ascribe/onion.git
synced 2025-02-03 15:47:38 +01:00
Fix PropTypes for GenericButton
This commit is contained in:
parent
1f3559d83b
commit
4f69f78bcd
@ -22,7 +22,8 @@ function ButtonFactory(style, btnClassName, options) {
|
||||
onClick: React.PropTypes.func,
|
||||
status: React.PropTypes.oneOf(['loading', 'disabled', null]),
|
||||
children: React.PropTypes.oneOfType([React.PropTypes.arrayOf(React.PropTypes.element),
|
||||
React.PropTypes.element])
|
||||
React.PropTypes.element,
|
||||
React.PropTypes.string])
|
||||
},
|
||||
|
||||
render: function render() {
|
||||
|
Loading…
Reference in New Issue
Block a user