"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "NotificationsProvider", {
    enumerable: true,
    get: function() {
        return NotificationsProvider;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
const _react1 = require("storeon/react");
const _NotificationsStore = require("./NotificationsStore");
const _NotificationsPortal = require("./NotificationsPortal");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const NotificationsProvider = ({ children, config, frame, placement, UNSAFE_SSR_ENABLED, className })=>{
    return /*#__PURE__*/ _react.default.createElement(_react1.StoreContext.Provider, {
        value: _NotificationsStore.NotificationsStore
    }, children, /*#__PURE__*/ _react.default.createElement(_NotificationsPortal.NotificationsPortal, {
        frame: frame,
        placement: placement,
        config: config,
        UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED,
        className: className
    }));
};
