mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 08:25:24 +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 LayerEditor from './layers/LayerEditor'
|
||||
import Toolbar from './Toolbar'
|
||||
import Layout from './Layout'
|
||||
import AppLayout from './AppLayout'
|
||||
|
||||
import style from '../libs/style.js'
|
||||
import { loadDefaultStyle, SettingsStore, StyleStore } from '../libs/stylestore'
|
||||
|
@ -149,7 +149,7 @@ export default class App extends React.Component {
|
|||
onLayerIdChange={this.onLayerIdChange.bind(this)}
|
||||
/> : null
|
||||
|
||||
return <Layout
|
||||
return <AppLayout
|
||||
toolbar={toolbar}
|
||||
layerList={layerList}
|
||||
layerEditor={layerEditor}
|
||||
|
|
|
@ -4,7 +4,7 @@ import ScrollContainer from './ScrollContainer'
|
|||
import theme from '../config/theme'
|
||||
import colors from '../config/colors'
|
||||
|
||||
export default class Layout extends React.Component {
|
||||
class AppLayout extends React.Component {
|
||||
static propTypes = {
|
||||
toolbar: React.PropTypes.element.isRequired,
|
||||
layerList: React.PropTypes.element.isRequired,
|
||||
|
@ -62,3 +62,5 @@ export default class Layout extends React.Component {
|
|||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
export default AppLayout
|
Loading…
Reference in a new issue