App.js
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import React, { Component, Fragment } from 'react';
import './App.css';
import { withStyles, Typography, Paper, Button} from '@material-ui/core';
import TextField from '@material-ui/core/TextField';
const styles = theme => ({
root: {
'& .MuiTextField-root': {
margin: theme.spacing(1),
width: '100%',
minWidth: 1080
},
},
title: {
marginTop: 150,
textAlign: 'center',
display: 'none',
fontSize: '3.0rem',
[theme.breakpoints.up('sm')]: {
display: 'block',
// fontSize: '20',
}
},
paper: {
marginTop: 100,
marginLeft: 500,
marginRight: 500
},
button: {
marginTop: 15,
marginLeft: 1320,
},
});
class App extends Component {
render() {
const { classes } = this.props;
return (
<>
<Typography className={classes.title} variant="h6" color="inherit" noWrap>
μμ±μ λ§μΆ° λλ³Έμ νλ©΄μ μ€μκ°μΌλ‘ μΆλ ₯νλ ν둬νν° μλΉμ€
</Typography>
<Paper className={classes.paper} elevation={3}>
<TextField id="outlined-textarea" label="Scriptλ₯Ό μ
λ ₯ν΄μ£ΌμΈμ." fullWidth="true" rows={20} placeholder="Script" multiline variant="outlined"/>
</Paper>
<Button className={classes.button} variant="contained" color="primary">μμν©λλ€.</Button>
</>
);
}
}
// export default makeStyles(useStyles)(App);
// export default App;
export default withStyles(styles)(App);