refactor feature folders by code type

This commit is contained in:
2026-04-28 14:14:15 +02:00
parent d2735b72a0
commit ece9b1268f
22 changed files with 24 additions and 24 deletions
+11
View File
@@ -0,0 +1,11 @@
import { createContext } from "react";
export type DocsLanguage = "en" | "fr";
export interface DocsLanguageContextValue {
language: DocsLanguage;
toggleLanguage: () => void;
}
export const DocsLanguageContext =
createContext<DocsLanguageContextValue | null>(null);