/**
 * @license MIT
 * author: Cube Dev Team
 * @cube-dev/ui-kit v0.0.0-canary-e980ce7
 * Released under the MIT license.
 */

import { jsx as _jsx } from "react/jsx-runtime";
import { createContext, useContext } from 'react';
export const NotificationsDialogContext = createContext(null);
export function NotificationsDialogProvider({ children, }) {
    return (_jsx(NotificationsDialogContext.Provider, { value: { insideNotificationsDialog: true }, children: children }));
}
export function useNotificationsDialogContext() {
    const context = useContext(NotificationsDialogContext);
    return context?.insideNotificationsDialog ?? false;
}

        