MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / ThemeContextType

Interface ThemeContextType

landing/src/components/ThemeProvider.tsx:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5type Theme = "light" | "dark";
6
7interface ThemeContextType {
8 theme: Theme;
9 toggleTheme: () => void;
10}
11
12const ThemeContext = createContext<ThemeContextType | undefined>(undefined);
13

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected