import React from "react";
import { StoreContext } from "storeon/react";
import { NotificationsStore } from "./NotificationsStore";
import { NotificationsPortal } from "./NotificationsPortal";
export const NotificationsProvider = ({ children, config, frame, placement, UNSAFE_SSR_ENABLED, className })=>{
    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,
        className: className
    }));
};
