Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import Flex from 'jsxstyle/Flex';
import Col from 'jsxstyle/Col';
import Block from 'jsxstyle/Block';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import AppBar from 'material-ui/AppBar';
import { grey800, darkBlack } from 'material-ui/styles/colors';
import Sidebar from './Sidebar.jsx'; /* eslint "import/order": "off" */
/* eslint-disable */
import injectTapEventPlugin from 'react-tap-event-plugin';
injectTapEventPlugin();
import jsxstyle from 'jsxstyle';
jsxstyle.install();
/* eslint-enable */
class App extends React.Component {
constructor(props) {
super(props);
this.state = { drawer: true };
this.toggleDrawer = this.toggleDrawer.bind(this);
this.render = this.render.bind(this);
}
toggleDrawer() {
this.setState({ drawer: !this.state.drawer });
}
render() {
return (