mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-29 06:50:25 +01:00
Removed required prop and fixed component name.
This commit is contained in:
parent
d502d9b1bb
commit
e148607c7a
1 changed files with 1 additions and 2 deletions
|
@ -1,10 +1,9 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import Collapser from './Collapser'
|
import Collapser from './Collapser'
|
||||||
|
|
||||||
export default class LayerEditorGroup extends React.Component {
|
export default class LayerListGroup extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
title: React.PropTypes.string.isRequired,
|
title: React.PropTypes.string.isRequired,
|
||||||
children: React.PropTypes.element.isRequired,
|
|
||||||
isActive: React.PropTypes.bool.isRequired,
|
isActive: React.PropTypes.bool.isRequired,
|
||||||
onActiveToggle: React.PropTypes.func.isRequired
|
onActiveToggle: React.PropTypes.func.isRequired
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue