App.js 1.6 KB
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);