Rename Layout to AppLayout

This commit is contained in:
Lukas Martinelli 2016-12-22 16:39:09 +01:00
parent f5b3a81ba5
commit e32f3bb06e
2 changed files with 5 additions and 3 deletions

View file

@ -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}

View file

@ -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