import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children", "className"];
import React from 'react';
import Box from '../box';
import cx from 'classnames';
import theme from './theme.css';

var MarketingMarker = function MarketingMarker(_ref) {
  var children = _ref.children,
      className = _ref.className,
      others = _objectWithoutProperties(_ref, _excluded);

  var classNames = cx(theme['marker'], className);
  return /*#__PURE__*/React.createElement(Box, _extends({}, others, {
    className: classNames,
    element: "mark",
    paddingHorizontal: 1,
    marginHorizontal: -1
  }), children);
};

export default MarketingMarker;