"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _icons = require("@ant-design/icons");
var _antd = require("antd");
var _propTypes = _interopRequireDefault(require("prop-types"));
var _react = _interopRequireDefault(require("react"));
require("./index.less");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var Duration = function Duration(_ref) {
  var label = _ref.label,
    durationHour = _ref.durationHour;
  return /*#__PURE__*/_react["default"].createElement(_antd.Space, {
    className: "ol-map-analysis-duration"
  }, /*#__PURE__*/_react["default"].createElement(_icons.ClockCircleOutlined, {
    size: 16
  }), /*#__PURE__*/_react["default"].createElement("span", null, label, ": ", durationHour, "h"));
};
Duration.propTypes = {
  label: _propTypes["default"].string,
  durationHour: _propTypes["default"].number
};
var _default = exports["default"] = Duration;
//# sourceMappingURL=index.js.map
