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

import { createContext, useContext } from 'react';
import invariant from 'tiny-invariant';
export const DialogContext = createContext({});
export function useDialogContext() {
    const dialogContext = useContext(DialogContext);
    invariant(dialogContext !== null, '');
    return dialogContext;
}

        