diff options
Diffstat (limited to 'front/src/Locales/Context.tsx')
| -rw-r--r-- | front/src/Locales/Context.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/front/src/Locales/Context.tsx b/front/src/Locales/Context.tsx new file mode 100644 index 0000000..a15d57d --- /dev/null +++ b/front/src/Locales/Context.tsx @@ -0,0 +1,5 @@ +import { createContext } from "react"; + +export type AllowedLanguages = "en" | "ru"; + +export const LanguageContext = createContext<AllowedLanguages>("en"); |
