"use strict";

exports.__esModule = true;
exports.SequenceName = SequenceName;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function SequenceName(_ref) {
  var sequenceName = _ref.sequenceName,
    sequenceLength = _ref.sequenceLength,
    isProtein = _ref.isProtein;
  return /*#__PURE__*/_react["default"].createElement("div", {
    key: "circViewSvgCenterText",
    style: {
      textAlign: "center"
    }
  }, /*#__PURE__*/_react["default"].createElement("span", null, sequenceName, " "), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("span", null, isProtein ? Math.floor(sequenceLength / 3) + " AAs" : sequenceLength + " bps"));
}