import * as React from 'react' ; import { ReactElement , ReactNode } from 'react' ; import { ResourceContext , ResourceContextValue } from './ResourceContext' ; export const ResourceContextProvider = ( { children , value , } ) : ReactElement => ( < ResourceContext . Provider value = { value } > { children } < /ResourceContext.Provider>);