Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Add material-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
sicktastic committed Nov 23, 2017
1 parent bd18fde commit 3fcb5be
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions reactjs/tic_tac_turning_app/src/containers/Template.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
import React, {Component} from 'react'
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
import injectTapEventPlugin from 'react-tap-event-plugin'

injectTapEventPlugin()

class Template extends Component {
render() {
return(
<div>
<header>
<h1>TicTacTurning</h1>
</header>
<main>
{this.prop.children}
</main>
</div>
<MuiThemeProvider>
<div>
<header>
<h1>TicTacTurning</h1>
</header>
<main>
{this.prop.children}
</main>
</div>
</MuiThemeProvider>
)
}
}
Expand Down

0 comments on commit 3fcb5be

Please sign in to comment.