Demo entry 6663300

mc_4

   

Submitted by mc_4 on Nov 29, 2017 at 21:41
Language: TypeScript. Code size: 607 Bytes.

class Layout extends React.Component<Layout.Props & WithStyles<"content" | "appFrame">> {

  public render() {
    const {children, classes} = this.props;
    return (
      <MuiThemeProvider theme={theme}>
        <div style={{position: "relative", height: "100%"}}>
          <Header/>
          <div className={classes.appFrame}>
            <ResponsiveDrawer/>
            <main className={classes.content}>
              {children}
            </main>
          </div>
        </div>
      </MuiThemeProvider>
    );
  }
}

export default withStyles(styles)<Layout.Props>(Layout);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).