mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix material-ui-next example (#2348)
This commit is contained in:
parent
f14297dc80
commit
b2bda416b6
|
@ -17,13 +17,9 @@ const styles = {
|
||||||
}
|
}
|
||||||
|
|
||||||
class Index extends Component {
|
class Index extends Component {
|
||||||
constructor (props) {
|
state = {
|
||||||
super(props)
|
|
||||||
|
|
||||||
this.state = {
|
|
||||||
open: false
|
open: false
|
||||||
}
|
};
|
||||||
}
|
|
||||||
|
|
||||||
handleRequestClose = () => {
|
handleRequestClose = () => {
|
||||||
this.setState({
|
this.setState({
|
||||||
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue