import { ConfigProps } from "../typings/Config"; import React, { createContext } from "react"; type Props = { graphConfig: ConfigProps; children: React.ReactNode; }; type ConfigContextProps = { config: ConfigProps; }; export const ConfigContext = createContext(null); function ConfigController({ graphConfig, children }: Props) { return ( {children} ); } export default ConfigController;