mirror of
https://github.com/maputnik/editor.git
synced 2026-08-25 06:27:25 +00:00
Use DocLabel in input block
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React from 'react'
|
||||
|
||||
import GlSpec from 'mapbox-gl-style-spec/reference/latest.js'
|
||||
import InputBlock from '../inputs/InputBlock'
|
||||
import StringInput from '../inputs/StringInput'
|
||||
|
||||
@@ -10,7 +11,7 @@ class LayerIdBlock extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
return <InputBlock label={"Layer ID"}>
|
||||
return <InputBlock label={"Layer ID"} doc={GlSpec.layer.id.doc}>
|
||||
<StringInput
|
||||
value={this.props.value}
|
||||
onChange={this.props.onChange}
|
||||
|
||||
Reference in New Issue
Block a user