Reimplement TopBar
This commit is contained in:
parent
6a3bd14343
commit
453e68b320
2 changed files with 45 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import * as Colors from "material-ui/colors";
|
|||
|
||||
import SideBar from "components/SideBar";
|
||||
import ControlMap from "components/ControlMap";
|
||||
import TopBar from "components/TopBar";
|
||||
|
||||
export type AppProps = {
|
||||
config: Config
|
||||
|
|
@ -42,12 +43,13 @@ class App extends React.Component<AppProps & Classes> {
|
|||
return this.props.config.controls[this.state.selectedControl];
|
||||
}
|
||||
|
||||
// <SpaceMapBar title={`${this.props.config.space.name} Map`} />
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<MuiThemeProvider theme={this.theme}>
|
||||
<div>
|
||||
<TopBar title={`${this.props.config.space.name} Map`}
|
||||
connected={false} />
|
||||
{false && <SideBar />}
|
||||
</div>
|
||||
</MuiThemeProvider>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue