import React from 'react'; import { Box, makeStyles, Backdrop, Paper } from '@material-ui/core'; import { AppContentTypes } from '../interface/InterfaceUI'; const useStyles = makeStyles(() => ({ wrapper: { flex: 1, overflow: 'auto', }, box: { width: '100%', height: '100%', // allow application to fill entireity of space position: 'relative', overflow: 'auto', }, backdrop: { position: 'absolute', zIndex: 1, }, paper: { width: '100%', height: '100%', // allow application to fill entireity of space }, })); export const AppContent = ({ children, style, backdrop, onClickBackdrop, ...props }: AppContentTypes) => { const classes = useStyles(); return ( {children} ); };