Support symbol in prop types

This commit is contained in:
lukasmartinelli 2016-09-15 18:51:39 +02:00
parent 0c59b441ed
commit 5f029f6870

View file

@ -70,7 +70,7 @@ export class PropertyGroup extends React.Component {
static propTypes = {
onChange: React.PropTypes.func.isRequired,
properties: React.PropTypes.instanceOf(Immutable.Map).isRequired,
layerType: React.PropTypes.oneOf(['fill', 'background', 'line']).isRequired,
layerType: React.PropTypes.oneOf(['fill', 'background', 'line', 'symbol']).isRequired,
groupType: React.PropTypes.oneOf(['paint', 'layout']).isRequired,
}