mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 16:10:01 +00:00
Rename Layout to AppLayout
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user