import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import { Loading } from '@alicloudfe/components';
import cls from 'classnames';
var indicator8 = /*#__PURE__*/React.createElement("div", {
  className: "load-container load8"
}, /*#__PURE__*/React.createElement("div", {
  className: "loader"
}));

var BDesignLoading = function BDesignLoading(props) {
  var className = props.className,
      size = props.size,
      rest = _objectWithoutProperties(props, ["className", "size"]);

  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Loading, _extends({
    indicator: indicator8,
    className: cls(className, {
      'next-loading-small': size === 'small'
    })
  }, rest)));
};

export default BDesignLoading;