function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
import React from 'react';
import classNames from 'classnames';
import PcModal from "../PcModal";
import "./index.less";
var MobileModal = function MobileModal(props) {
  var wrapClassName = props.wrapClassName,
    mobileModalHeight = props.mobileModalHeight;
  return /*#__PURE__*/React.createElement(PcModal, _extends({}, props, {
    transitionName: "pisell-move-down",
    width: "100%",
    wrapClassName: classNames('pisell-mobile-modal', _defineProperty({}, wrapClassName, wrapClassName)),
    modalRender: function modalRender(node) {
      return /*#__PURE__*/React.createElement("div", {
        className: classNames(_defineProperty({}, 'pisell-mobile-modal-render', mobileModalHeight)),
        style: {
          height: mobileModalHeight || '100%'
        }
      }, node);
    }
  }));
};
export default MobileModal;