mirror of
https://github.com/maputnik/editor.git
synced 2026-04-17 06:50:01 +00:00
Fill extrusion support #31
This commit is contained in:
@@ -14,6 +14,7 @@ class LayerIcon extends React.Component {
|
||||
render() {
|
||||
const iconProps = { style: this.props.style }
|
||||
switch(this.props.type) {
|
||||
case 'fill-extrusion': return <BackgroundIcon {...iconProps} />
|
||||
case 'fill': return <FillIcon {...iconProps} />
|
||||
case 'background': return <BackgroundIcon {...iconProps} />
|
||||
case 'line': return <LineIcon {...iconProps} />
|
||||
|
||||
Reference in New Issue
Block a user