mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 05:57:25 +00:00
Removed isRequired from label incase null.
This commit is contained in:
@@ -12,7 +12,7 @@ export default class Block extends React.Component {
|
|||||||
label: PropTypes.oneOfType([
|
label: PropTypes.oneOfType([
|
||||||
PropTypes.string,
|
PropTypes.string,
|
||||||
PropTypes.element,
|
PropTypes.element,
|
||||||
]).isRequired,
|
]),
|
||||||
action: PropTypes.element,
|
action: PropTypes.element,
|
||||||
children: PropTypes.node.isRequired,
|
children: PropTypes.node.isRequired,
|
||||||
style: PropTypes.object,
|
style: PropTypes.object,
|
||||||
|
|||||||
Reference in New Issue
Block a user