import * as React from "react" ; import siteConfig from "~/site-config" ; export const SiteConfigContext = React . createContext ( siteConfig ) ; export const SiteConfigProvider = ( { children } ) => ( < SiteConfigContext . Provider value = { siteConfig } > { children } < /SiteConfigContext.Provider>);