import { Button, makeStyles, Paper, Typography } from '@material-ui/core'; const useStyles = makeStyles((theme) => ({ logsOuter: { overflow: 'auto', padding: theme.spacing(1), marginTop: theme.spacing(1), marginBottom: theme.spacing(1), maxHeight: '10rem', }, copyButton: { marginTop: theme.spacing(1), }, })); export default function PaperTextBox({ stdOut }: { stdOut: string }) { const classes = useStyles(); function handleCopyLogs() { throw new Error('Not implemented'); } return ( {stdOut} ); }