mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-30 23:35:29 +01:00
Added missing prop-types.
This commit is contained in:
parent
fc7395df96
commit
019428a241
1 changed files with 7 additions and 0 deletions
|
@ -48,6 +48,13 @@ export default class LayerEditor extends React.Component {
|
||||||
spec: PropTypes.object.isRequired,
|
spec: PropTypes.object.isRequired,
|
||||||
onLayerChanged: PropTypes.func,
|
onLayerChanged: PropTypes.func,
|
||||||
onLayerIdChange: PropTypes.func,
|
onLayerIdChange: PropTypes.func,
|
||||||
|
onMoveLayer: PropTypes.func,
|
||||||
|
onLayerDestroy: PropTypes.func,
|
||||||
|
onLayerCopy: PropTypes.func,
|
||||||
|
onLayerVisibilityToggle: PropTypes.func,
|
||||||
|
isFirstLayer: PropTypes.bool,
|
||||||
|
isLastLayer: PropTypes.bool,
|
||||||
|
layerIndex: PropTypes.number,
|
||||||
}
|
}
|
||||||
|
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
|
|
Loading…
Reference in a new issue