mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-14 17:23:26 +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 {
|
||||
static propTypes = {
|
||||
onChange: PropTypes.func.isRequired,
|
||||
name: PropTypes.string.isRequired,
|
||||
name: PropTypes.string,
|
||||
value: PropTypes.string,
|
||||
doc: PropTypes.string,
|
||||
style: PropTypes.object,
|
||||
|
|
Loading…
Reference in a new issue