import { createContext, FC, useContext } from 'react'; import { INavigatorContext, NavigatorContextProps } from './NavigatorContext.types'; const NavigatorContext = createContext({ navigatorState: null, dispatchNavigatorState: null }); export const NavigatorContextProvider: FC = props => { return { props.children } } export const useNavigatorContext = () => useContext(NavigatorContext);