"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = TodayRunJXH;
var _react = _interopRequireDefault(require("react"));
var _progress = _interopRequireDefault(require("antd/es/progress"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
/**
 * 今日运行
 */

function TodayRunJXH(props) {
  var rate = props.rate,
    value = props.value;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "today-run-jxh"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "today-run-jxh--name"
  }), /*#__PURE__*/_react["default"].createElement("div", {
    className: "today-run-jxh--progress"
  }, /*#__PURE__*/_react["default"].createElement(_progress["default"], {
    strokeLinecap: "butt",
    percent: rate,
    strokeColor: {
      '0%': '#46E8C5',
      '100%': '#55A591'
    },
    trailColor: "#444B59",
    strokeWidth: 6,
    showInfo: false
  })), /*#__PURE__*/_react["default"].createElement("div", {
    className: "today-run-jxh--value"
  }, value));
}
//# sourceMappingURL=TodayRunJXH.js.map
