mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-15 15:01:17 +01:00
'name' is not a required property of <ColorField />
This commit is contained in:
parent
63ed8c1de3
commit
0f22eb83d3
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ function formatColor(color) {
|
||||||
class ColorField extends React.Component {
|
class ColorField extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
onChange: PropTypes.func.isRequired,
|
onChange: PropTypes.func.isRequired,
|
||||||
name: PropTypes.string.isRequired,
|
name: PropTypes.string,
|
||||||
value: PropTypes.string,
|
value: PropTypes.string,
|
||||||
doc: PropTypes.string,
|
doc: PropTypes.string,
|
||||||
style: PropTypes.object,
|
style: PropTypes.object,
|
||||||
|
|
Loading…
Reference in a new issue