/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-f1f3d22 | Cube Dev Team */
import { createContext, useContext } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/components/overlays/NewNotifications/Dialog/NotificationsDialogContext.tsx
const NotificationsDialogContext = createContext(null);
function NotificationsDialogProvider({ children }) {
	return /* @__PURE__ */ jsx(NotificationsDialogContext.Provider, {
		value: { insideNotificationsDialog: true },
		children
	});
}
function useNotificationsDialogContext() {
	return useContext(NotificationsDialogContext)?.insideNotificationsDialog ?? false;
}

//#endregion
export { NotificationsDialogProvider, useNotificationsDialogContext };
//# sourceMappingURL=NotificationsDialogContext.js.map