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

import { createContext, useContext } from 'react';
const PortalContext = createContext(null);
/**
 * @private
 * @internal Don't even try to use it
 */
export function usePortalContext() {
    const root = useContext(PortalContext);
    return { root };
}
/**
 * @private
 * @internal Don't even try to use it
 */
export const PortalProvider = PortalContext.Provider;

        