import React from 'react' import ScrollContainer from './ScrollContainer' class AppLayout extends React.Component { static propTypes = { toolbar: React.PropTypes.element.isRequired, layerList: React.PropTypes.element.isRequired, layerEditor: React.PropTypes.element, map: React.PropTypes.element.isRequired, bottom: React.PropTypes.element, } static childContextTypes = { reactIconBase: React.PropTypes.object } getChildContext() { return { reactIconBase: { size: 14 } } } render() { return
{this.props.toolbar}
{this.props.layerList}
{this.props.layerEditor}
{this.props.map} {this.props.bottom &&
{this.props.bottom}
}
} } export default AppLayout