-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathBody.tsx
More file actions
51 lines (47 loc) · 1.26 KB
/
Body.tsx
File metadata and controls
51 lines (47 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { Component } from "react";
import { observer } from "mobx-react";
import Navbar from "./components/navbar/Navbar";
import Field from "./components/field/Field";
import Sidebar from "./components/sidebar/Sidebar";
import AppMenu from "./AppMenu";
import PathAnimationPanel from "./components/field/PathAnimationPanel";
type Props = object;
type State = object;
class Body extends Component<Props, State> {
state = {};
render() {
return (
<>
<div className="App">
<div className="Page">
<AppMenu></AppMenu>
<span
style={{
display: "flex",
flexDirection: "row",
flexGrow: 1,
height: 0,
width: "100%"
}}
>
<Sidebar></Sidebar>
<span
style={{
display: "flex",
flexDirection: "column",
flexGrow: 1,
width: 0
}}
>
<Navbar></Navbar>
<Field></Field>
</span>
</span>
<PathAnimationPanel></PathAnimationPanel>
</div>
</div>
</>
);
}
}
export default observer(Body);