import type React from "react"; import { createContext } from "react"; import type { StackflowReactPlugin } from "../StackflowReactPlugin"; export type PluginsContextValue = Array>; export const PluginsContext = createContext(null as any); interface PluginsProviderProps { children: React.ReactNode; value: PluginsContextValue; } export const PluginsProvider: React.FC = ({ children, value, }) => ( {children} ); PluginsProvider.displayName = "PluginsProvider";