var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
import clsx from 'clsx';
import { makeStyles, Container } from '@material-ui/core';
import React from 'react';
const useStyles = makeStyles((theme) => ({
    root: {
        flex: 1,
        display: 'flex',
        flexDirection: 'column',
        position: 'absolute',
        top: 93
    }
}), { name: 'PageContent' });
/**
 * Page content wrapper that provides page gutters and container
 */
export const OpenPage = (props) => {
    const classes = useStyles(props);
    const { className, children, maxWidth = false, disableGutters = false } = props, other = __rest(props, ["className", "children", "maxWidth", "disableGutters"]);
    return (React.createElement(Container, Object.assign({}, other, { classes: null, className: clsx(className, classes.root), maxWidth: maxWidth, disableGutters: disableGutters }), children));
};
//# sourceMappingURL=OpenPage.js.map