import React from "react";
import { StoreContext } from "storeon/react";
import { NotificationsStore } from "./NotificationsStore";
import { NotificationsPortal } from "./NotificationsPortal";
export var NotificationsProvider = function NotificationsProvider(param) {
    var children = param.children, config = param.config, frame = param.frame, placement = param.placement, UNSAFE_SSR_ENABLED = param.UNSAFE_SSR_ENABLED;
    return /*#__PURE__*/ React.createElement(StoreContext.Provider, {
        value: NotificationsStore
    }, children, /*#__PURE__*/ React.createElement(NotificationsPortal, {
        frame: frame,
        placement: placement,
        config: config,
        UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
    }));
};
