import _Spin from "antd/es/spin";
import _Empty from "antd/es/empty";
import * as React from 'react';
;
var EmptyComponent = function EmptyComponent(props) {
  var loading = props.loading,
    empty = props.empty,
    children = props.children;
  console.log(children);
  return /*#__PURE__*/React.createElement(_Spin, {
    spinning: loading
  }, /*#__PURE__*/React.createElement("div", null, empty ? /*#__PURE__*/React.createElement(_Empty, null) : children));
};
export default EmptyComponent;