We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c28a968 commit 96b39b3Copy full SHA for 96b39b3
packages/devextreme-cli/src/templates/react/application/src/theme.tsx
@@ -50,4 +50,4 @@ export function useThemeContext() {
50
return useMemo(()=> ({ theme, switchTheme, isDark }), [theme]);
51
}
52
53
-export const ThemeContext = React.createContext(null);
+export const ThemeContext = React.createContext<%=#isTypeScript%><ReturnType<typeof useThemeContext> | null><%=/isTypeScript%>(null);
0 commit comments