// 导入中模块
import React, { useContext } from 'react';
import { Progress } from 'antd';
import { LoadingOutlined } from '@ant-design/icons';
import { ConfigContext } from "../config-provider/context";
var Progressing = function Progressing(_ref) {
  var percent = _ref.percent;
  var componentContext = useContext(ConfigContext);
  var uiLocale = componentContext.uiLocale;
  return /*#__PURE__*/React.createElement("div", {
    className: "container-progressing"
  }, /*#__PURE__*/React.createElement(Progress, {
    percent: +percent.toFixed(0),
    status: "active"
  }), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LoadingOutlined, null), " ", uiLocale.FileImport.progressingText));
};
export default Progressing;