import type React from 'react'; import { createContext } from 'react'; import type { ReactNode } from 'react'; import type { ActionTypes } from './types'; export interface PortalType { name: string; node: ReactNode; } export const PortalStateContext = createContext > | null>(null); export const PortalDispatchContext = createContext | null>(null);