mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 15:27:45 +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,
|
||||
onLayerChanged: 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 = {
|
||||
|
|
Loading…
Reference in a new issue