import React from 'react'; import { makeStyles, createStyles, Theme } from '@material-ui/core/styles'; import Paper from '@material-ui/core/Paper'; import Grid from '@material-ui/core/Grid'; import Hidden from '@material-ui/core/Hidden'; import withWidth, { WithWidth } from '@material-ui/core/withWidth'; import Typography from '@material-ui/core/Typography'; const useStyles = makeStyles((theme: Theme) => createStyles({ root: { flexGrow: 1, }, paper: { padding: theme.spacing(2), textAlign: 'center', color: theme.palette.text.secondary, }, }), ); function GridIntegration(props: WithWidth) { const classes = useStyles(); const { width } = props; return (