import { createContext } from 'react' ; import { ShowControllerProps } from './useShowController' ; example export const ShowContext = createContext < ShowControllerProps > ( { basePath : null , record : null , defaultTitle : null , loaded : null , loading : null , refetch : null , resource : null , version : null , } ) ; ShowContext . displayName = 'ShowContext' ;