mirror of
https://github.com/maputnik/editor.git
synced 2026-11-27 20:34:20 +00:00
'name' is not a required property of <ColorField />
This commit is contained in:
1 parent
63ed8c1de3
commit
0f22eb83d3
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user