'use strict';

var useParrotTranslation = require('../../hooks/useParrotTranslation.js');
var React = require('react');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

const MetricActions = (props) => {
  const { info, dropdown } = props;
  const { current, max } = info;
  const { t } = useParrotTranslation();
  return /* @__PURE__ */ React__default.default.createElement("div", { className: "metric-extra" }, /* @__PURE__ */ React__default.default.createElement("div", null, /* @__PURE__ */ React__default.default.createElement("span", { className: "info-item" }, t("metric.max"), "\uFF1A", max), /* @__PURE__ */ React__default.default.createElement("span", { className: "info-item" }, t("metric.current"), "\uFF1A", current)), dropdown);
};
var MetricActions$1 = MetricActions;

module.exports = MetricActions$1;
