import React from "react" ; import { FireCMSContext } from "../../models" ; export const FireCMSContextInstance = React . createContext < FireCMSContext > ( { sideEntityController : { } as any , navigationContext : { } as any , dataSource : { } as any , storageSource : { } as any , authController : { } as any , snackbarController : { } as any } ) ; category export const FireCMSContextProvider = ( { children , ... context } ) => { return ( < FireCMSContextInstance . Provider value = { context } > { children } < /FireCMSContextInstance.Provider>); } ;