"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _classnames = _interopRequireDefault(require("classnames"));

var _react = _interopRequireDefault(require("react"));

var _theme = _interopRequireDefault(require("./theme.css"));

var Monospaced = function Monospaced(_ref) {
  var children = _ref.children,
      className = _ref.className,
      _ref$element = _ref.element,
      element = _ref$element === void 0 ? 'span' : _ref$element;
  var classNames = (0, _classnames.default)(_theme.default['monospaced'], className);
  var Element = element;
  return /*#__PURE__*/_react.default.createElement(Element, {
    "data-teamleader-ui": "monospaced",
    className: classNames
  }, children);
};

var _default = Monospaced;
exports.default = _default;