Commit b2bda416 authored by Henrik's avatar Henrik Committed by Tim Neutkens

Fix material-ui-next example (#2348)

parent f14297dc
...@@ -17,13 +17,9 @@ const styles = { ...@@ -17,13 +17,9 @@ const styles = {
} }
class Index extends Component { class Index extends Component {
constructor (props) { state = {
super(props) open: false
};
this.state = {
open: false
}
}
handleRequestClose = () => { handleRequestClose = () => {
this.setState({ this.setState({
...@@ -47,12 +43,12 @@ class Index extends Component { ...@@ -47,12 +43,12 @@ class Index extends Component {
<DialogContentText>1-2-3-4-5</DialogContentText> <DialogContentText>1-2-3-4-5</DialogContentText>
</DialogContent> </DialogContent>
<DialogActions> <DialogActions>
<Button primary onClick={this.handleRequestClose}>OK</Button> <Button color='primary' onClick={this.handleRequestClose}>OK</Button>
</DialogActions> </DialogActions>
</Dialog> </Dialog>
<Typography type='display1' gutterBottom>Material-UI</Typography> <Typography type='display1' gutterBottom>Material-UI</Typography>
<Typography type='subheading' gutterBottom>example project</Typography> <Typography type='subheading' gutterBottom>example project</Typography>
<Button raised accent onClick={this.handleClick}> <Button raised color='accent' onClick={this.handleClick}>
Super Secret Password Super Secret Password
</Button> </Button>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment