"use strict";

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