mirror of
https://github.com/ascribe/onion.git
synced 2024-06-29 00:58:03 +02: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