mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 15:21:20 +01:00
Rename Layout to AppLayout
This commit is contained in:
parent
f5b3a81ba5
commit
e32f3bb06e
2 changed files with 5 additions and 3 deletions
|
@ -6,7 +6,7 @@ import OpenLayers3Map from './map/OpenLayers3Map'
|
||||||
import LayerList from './layers/LayerList'
|
import LayerList from './layers/LayerList'
|
||||||
import LayerEditor from './layers/LayerEditor'
|
import LayerEditor from './layers/LayerEditor'
|
||||||
import Toolbar from './Toolbar'
|
import Toolbar from './Toolbar'
|
||||||
import Layout from './Layout'
|
import AppLayout from './AppLayout'
|
||||||
|
|
||||||
import style from '../libs/style.js'
|
import style from '../libs/style.js'
|
||||||
import { loadDefaultStyle, SettingsStore, StyleStore } from '../libs/stylestore'
|
import { loadDefaultStyle, SettingsStore, StyleStore } from '../libs/stylestore'
|
||||||
|
@ -149,7 +149,7 @@ export default class App extends React.Component {
|
||||||
onLayerIdChange={this.onLayerIdChange.bind(this)}
|
onLayerIdChange={this.onLayerIdChange.bind(this)}
|
||||||
/> : null
|
/> : null
|
||||||
|
|
||||||
return <Layout
|
return <AppLayout
|
||||||
toolbar={toolbar}
|
toolbar={toolbar}
|
||||||
layerList={layerList}
|
layerList={layerList}
|
||||||
layerEditor={layerEditor}
|
layerEditor={layerEditor}
|
||||||
|
|
|
@ -4,7 +4,7 @@ import ScrollContainer from './ScrollContainer'
|
||||||
import theme from '../config/theme'
|
import theme from '../config/theme'
|
||||||
import colors from '../config/colors'
|
import colors from '../config/colors'
|
||||||
|
|
||||||
export default class Layout extends React.Component {
|
class AppLayout extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
toolbar: React.PropTypes.element.isRequired,
|
toolbar: React.PropTypes.element.isRequired,
|
||||||
layerList: React.PropTypes.element.isRequired,
|
layerList: React.PropTypes.element.isRequired,
|
||||||
|
@ -62,3 +62,5 @@ export default class Layout extends React.Component {
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default AppLayout
|
Loading…
Reference in a new issue