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

//#region src/components/overlays/Dialog/context.tsx
const DialogContext = createContext({});
function useDialogContext() {
	const dialogContext = useContext(DialogContext);
	invariant(dialogContext !== null, "");
	return dialogContext;
}

//#endregion
export { DialogContext, useDialogContext };
//# sourceMappingURL=context.js.map