blob: 204c89eeae3698fad73ceed77c88b7c125c1af88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import React, { Component } from 'react';
import ContainerDimensions from 'react-container-dimensions';
import MainToobar from './MainToolbar';
import MainMap from './MainMap';
class App extends Component {
render() {
return (
<div style={{height: "100vh", display: "flex", flexDirection: "column"}}>
<div style={{flex: 0}}>
<MainToobar />
</div>
<div style={{flex: 1}}>
<ContainerDimensions>
<MainMap/>
</ContainerDimensions>
</div>
</div>
);
}
}
export default App;
|