"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
const CircularProgress_1 = tslib_1.__importDefault(require("@mui/material/CircularProgress"));
const styles_1 = require("@mui/material/styles");
const material_1 = require("@mui/material");
const PREFIX = 'SCCentralProgress';
const Root = (0, styles_1.styled)(material_1.Box, {
    name: PREFIX,
    slot: 'Root',
    overridesResolver: (props, styles) => styles.root
})(() => ({
    display: 'flex',
    flexDirection: 'column',
    justifyContent: 'center',
    height: 'calc(100% - 100px)',
    padding: 50
}));
function CentralProgress(props) {
    return ((0, jsx_runtime_1.jsx)(Root, { children: (0, jsx_runtime_1.jsx)(CircularProgress_1.default, Object.assign({ sx: {
                margin: '0 auto',
                display: 'block'
            } }, props)) }));
}
exports.default = CentralProgress;
