import React from 'react';
import PropTypes from 'prop-types';
import Box from '@mui/material/Box';
import Spinner from '@mui/material/CircularProgress';
import { jsx as _jsx } from "react/jsx-runtime";
export default function EmptySpinner({
  size = 24,
  ...rest
}) {
  return /*#__PURE__*/_jsx(Box, {
    ...rest,
    sx: [{
      display: 'flex',
      mt: 4
    }, ...(Array.isArray(rest.sx) ? rest.sx : [rest.sx])],
    children: /*#__PURE__*/_jsx(Spinner, {
      size: size
    })
  });
}
EmptySpinner.propTypes = {
  size: PropTypes.number
};