UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

21 lines (20 loc) 640 B
import { jsx as _jsx } from "react/jsx-runtime"; import { styled, Box, CircularProgress } from '@mui/material'; const PREFIX = 'SCCentralProgress'; const Root = styled(Box, { name: PREFIX, slot: 'Root', overridesResolver: (props, styles) => styles.root })(() => ({ display: 'flex', flexDirection: 'column', justifyContent: 'center', height: 'calc(100% - 100px)', padding: 50 })); export default function CentralProgress(props) { return (_jsx(Root, { children: _jsx(CircularProgress, Object.assign({ sx: { margin: '0 auto', display: 'block' } }, props)) })); }