import { createContext } from 'react'; import type { Locale } from '.'; export type LocaleContextProps = Locale & { exist?: boolean }; const LocaleContext = createContext(undefined); export default LocaleContext;