You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/styles/tockThemeProvider.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,15 @@ import TockTheme from './theme';
5
5
import{defaultascreateTheme}from'./createTheme';
6
6
7
7
exportdefaultfunctionTockThemeProvider<Theme>(
8
-
props: ThemeProviderProps<Theme>,
8
+
props: ThemeProviderProps,
9
9
): React.ReactElement{
10
10
consttheme=props.themeasTockTheme;
11
11
if(!theme.overrides){
12
12
console.warn(
13
13
'[Theme deprecated] You seem providing a deprecated theme.\n Since version 20.3.4 you must provide a theme build by using "createTheme" function and the new TockTheme interface.',
0 commit comments