MCPcopy Create free account
hub / github.com/chokcoco/iCSS / AppContextType

Interface AppContextType

website/app/contexts/AppContext.tsx:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { getTranslation, Translations } from '../lib/translations';
7
8interface AppContextType {
9 theme: Theme;
10 setTheme: (theme: Theme) => void;
11 language: Language;
12 setLanguage: (language: Language) => void;
13 t: (key: keyof Translations) => string;
14}
15
16const AppContext = createContext<AppContextType | undefined>(undefined);
17

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected