mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-30 22:40:33 +01:00
Make sure propTypes accept what gets passed in
This commit is contained in:
parent
040d585d57
commit
abbce3e9d1
2 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,7 @@ export default class SpecField extends React.Component {
|
||||||
React.PropTypes.string,
|
React.PropTypes.string,
|
||||||
React.PropTypes.number,
|
React.PropTypes.number,
|
||||||
React.PropTypes.array,
|
React.PropTypes.array,
|
||||||
|
React.PropTypes.bool
|
||||||
]),
|
]),
|
||||||
/** Override the style of the field */
|
/** Override the style of the field */
|
||||||
style: React.PropTypes.object,
|
style: React.PropTypes.object,
|
||||||
|
|
|
@ -31,6 +31,7 @@ export default class ZoomSpecProperty extends React.Component {
|
||||||
React.PropTypes.string,
|
React.PropTypes.string,
|
||||||
React.PropTypes.number,
|
React.PropTypes.number,
|
||||||
React.PropTypes.bool,
|
React.PropTypes.bool,
|
||||||
|
React.PropTypes.array
|
||||||
]),
|
]),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue