Created
April 20, 2018 18:46
-
-
Save leihuagh/1c7a0d2f8773fa7d483e5faf2fcb3686 to your computer and use it in GitHub Desktop.
rightpane.js
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, { Component } from 'react' | |
| import { Grid, Paper, Typography } from 'material-ui' | |
| class RightPane extends Component { | |
| constructor(props) { | |
| super(props) | |
| this.state = { | |
| styles: this.props.styles, | |
| exercises: this.props.exercises | |
| } | |
| } | |
| render() { | |
| const { styles, exercises } = this.state | |
| return ( | |
| <Grid item sm> | |
| <Paper style={styles.Paper}> | |
| <Typography variant="display1">Welcome!</Typography> | |
| <Typography variant="subheading" style={{ marginTop: 20 }}> | |
| Please select an exercise from the list on the left | |
| </Typography> | |
| </Paper> | |
| </Grid> | |
| ) | |
| } | |
| } | |
| export default RightPane |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment