mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 16:21:16 +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.number,
|
||||
React.PropTypes.array,
|
||||
React.PropTypes.bool
|
||||
]),
|
||||
/** Override the style of the field */
|
||||
style: React.PropTypes.object,
|
||||
|
|
|
@ -31,6 +31,7 @@ export default class ZoomSpecProperty extends React.Component {
|
|||
React.PropTypes.string,
|
||||
React.PropTypes.number,
|
||||
React.PropTypes.bool,
|
||||
React.PropTypes.array
|
||||
]),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue