"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotificationContainer = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const inject_style_1 = require("react-toastify/dist/inject-style");
const constants_1 = require("../constants");
const styles_1 = require("./styles");
if (typeof window !== 'undefined') {
    (0, inject_style_1.injectStyle)();
}
const NotificationContainer = (props) => ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: (0, jsx_runtime_1.jsx)(styles_1.Inner, { ...props, pauseOnFocusLoss: true, position: constants_1.NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false, closeButton: false, bodyClassName: `${constants_1.notifyClassnames.body}`, toastClassName: constants_1.notifyClassnames.root, progressClassName: `${constants_1.notifyClassnames.progress}` }) }));
exports.NotificationContainer = NotificationContainer;
