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 890d312 commit 730528dCopy full SHA for 730528d
packages/devextreme-cli/src/templates/react/application/src/theme.tsx
@@ -12,7 +12,7 @@ function getCurrentTheme() {
12
return currentTheme;
13
}
14
15
-function toggleTheme(prevTheme) {
+function toggleTheme(prevTheme<%=#isTypeScript%>: string<%=/isTypeScript%>) {
16
const isCurrentThemeDark = prevTheme === 'dark';
17
18
const newTheme = getNextTheme(prevTheme);
0 commit comments