"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.Heading = Heading;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _designSystem = require("@wix/design-system");
var _HeadingStCss = require("./Heading.st.css.js");
var _react = _interopRequireDefault(require("react"));
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/Heading/Heading.tsx";
function Heading(props) {
  const {
    size,
    className,
    ...rest
  } = props;
  return /*#__PURE__*/_react.default.createElement(_designSystem.Heading, (0, _extends2.default)({}, rest, {
    size: size,
    className: (0, _HeadingStCss.st)(_HeadingStCss.classes.root, {
      appearanceH2: size === 'large'
    }),
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 9,
      columnNumber: 5
    }
  }));
}
//# sourceMappingURL=Heading.js.map