Make sure propTypes accept what gets passed in

This commit is contained in:
bartvde 2017-06-26 16:54:46 -05:00
parent 040d585d57
commit abbce3e9d1
2 changed files with 2 additions and 0 deletions

View file

@ -43,6 +43,7 @@ export default class SpecField extends React.Component {
React.PropTypes.string,
React.PropTypes.number,
React.PropTypes.array,
React.PropTypes.bool
]),
/** Override the style of the field */
style: React.PropTypes.object,

View file

@ -31,6 +31,7 @@ export default class ZoomSpecProperty extends React.Component {
React.PropTypes.string,
React.PropTypes.number,
React.PropTypes.bool,
React.PropTypes.array
]),
}