"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.RoomstayPortal = void 0;
const react_1 = __importDefault(require("react"));
const react_dom_1 = require("react-dom");
const RoomstayPortal = (props) => {
    return (0, react_dom_1.createPortal)(react_1.default.createElement("div", { className: 'roomstay-booking-container' + (props.preventZIndex ? ' --no-z' : '') }, props.children), props.target);
};
exports.RoomstayPortal = RoomstayPortal;
//# sourceMappingURL=Portal.js.map