import React from 'react' import ScrollContainer from './ScrollContainer' import theme from '../config/theme' import colors from '../config/colors' export default class Layout extends React.Component { static propTypes = { toolbar: React.PropTypes.element.isRequired, layerList: React.PropTypes.element.isRequired, layerEditor: React.PropTypes.element, map: React.PropTypes.element.isRequired, } 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}
} }