"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.ModalHeadingBox = ModalHeadingBox;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _designSystem = require("@wix/design-system");
var _MaxLines = require("../MaxLines");
var _react = _interopRequireDefault(require("react"));
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/ModalHeadingBox/ModalHeadingBox.tsx";
function ModalHeadingBox(props) {
  const {
    children,
    maxLines,
    lineHeight,
    ...rest
  } = props;
  return /*#__PURE__*/_react.default.createElement(_designSystem.Box, (0, _extends2.default)({
    minWidth: 0,
    boxSizing: "border-box",
    direction: "vertical"
  }, rest, {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 18,
      columnNumber: 5
    }
  }), /*#__PURE__*/_react.default.createElement(_MaxLines.MaxLines, {
    webkitLineClamp: false,
    lineHeight: lineHeight,
    maxLines: maxLines,
    wordBreak: "break-word",
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 19,
      columnNumber: 7
    }
  }, children));
}
//# sourceMappingURL=ModalHeadingBox.js.map