diff --git a/src/components/inputs/InputBlock.jsx b/src/components/inputs/InputBlock.jsx
index 9023911..68e8645 100644
--- a/src/components/inputs/InputBlock.jsx
+++ b/src/components/inputs/InputBlock.jsx
@@ -1,11 +1,13 @@
import React from 'react'
import input from '../../config/input'
+import DocLabel from '../fields/DocLabel'
import { margins } from '../../config/scales'
/** Wrap a component with a label */
class InputBlock extends React.Component {
static propTypes = {
label: React.PropTypes.string.isRequired,
+ doc: React.PropTypes.string,
children: React.PropTypes.element.isRequired,
style: React.PropTypes.object,
}
@@ -31,6 +33,16 @@ class InputBlock extends React.Component {
...input.property,
...this.props.style,
}}>
+ {this.props.doc &&
+
+ }
+ {!this.props.doc &&
+ }
{this.renderChildren()}
}
diff --git a/src/components/layers/LayerIdBlock.jsx b/src/components/layers/LayerIdBlock.jsx
index 0a57237..3544079 100644
--- a/src/components/layers/LayerIdBlock.jsx
+++ b/src/components/layers/LayerIdBlock.jsx
@@ -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
+ return
+ return
+ return
+ return