Merge pull request #149 from bartvde/proptype-warnings

Make sure propTypes accept what gets passed in
This commit is contained in:
Orange Mug 2017-07-07 09:07:25 +01:00 committed by GitHub
commit bc6e2dc81b
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
]),
}