mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 12:07:45 +01:00
Merge pull request #149 from bartvde/proptype-warnings
Make sure propTypes accept what gets passed in
This commit is contained in:
commit
bc6e2dc81b
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