Created
March 31, 2016 15:31
-
-
Save czbaker/6507d37a656a945f65f8f366bb9573a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import Paper from 'material-ui/lib/paper'; | |
| import Toolbar from 'material-ui/lib/toolbar/toolbar'; | |
| import ToolbarGroup from 'material-ui/lib/toolbar/toolbar-group'; | |
| import ToolbarSeparator from 'material-ui/lib/toolbar/toolbar-separator'; | |
| import ToolbarTitle from 'material-ui/lib/toolbar/toolbar-title'; | |
| import FlatButton from 'material-ui/lib/flat-button'; | |
| let style = { | |
| paper: { | |
| backgroundColor: "#333333", | |
| padding: 5, | |
| textAlign: "center" | |
| }, | |
| toolbar: { | |
| backgroundColor: "#666666" | |
| }, | |
| button: { | |
| paddingLeft: "5px", | |
| paddingRight: "5px", | |
| margin: 0 | |
| } | |
| }; | |
| export default React.createClass({ | |
| render() { | |
| return ( | |
| <div> | |
| <Paper | |
| style={style.paper} | |
| rounded={false} | |
| zDepth={0} | |
| > | |
| <img src="/images/artemisquesmall.png" /> | |
| </Paper> | |
| <Toolbar style={style.toolbar}> | |
| <ToolbarGroup float="left"> | |
| <FlatButton label="Primary" primary={true} style={style.button} /> | |
| <FlatButton label="Primary" primary={true} style={style.button} /> | |
| <FlatButton label="Primary" primary={true} style={style.button} /> | |
| <FlatButton label="Primary" primary={true} style={style.button} /> | |
| <FlatButton label="Primary" primary={true} style={style.button} /> | |
| </ToolbarGroup> | |
| <ToolbarGroup float="right" lastChild={true}> | |
| <ToolbarTitle text="Right" /> | |
| </ToolbarGroup> | |
| </Toolbar> | |
| </div> | |
| ); | |
| } | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment