We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb0960 commit b4c2e0eCopy full SHA for b4c2e0e
1 file changed
src/functions/setupStyled.ts
@@ -2,10 +2,10 @@ import { ThemeContext, ThemeProvider } from '@emotion/react';
2
import { Context } from 'react';
3
4
import { createStyledThemeProvider } from '@/factories/createStyledThemeProvider';
5
-import { StyledConfig, StyledThemeProvider, Theme } from '@/types';
+import { StyledConfig, StyledThemeProvider } from '@/types';
6
7
export let DEFAULT_THEME_PROVIDER = ThemeProvider as StyledThemeProvider;
8
-export let DEFAULT_THEME_CONTEXT = ThemeContext as Context<Theme>;
+export let DEFAULT_THEME_CONTEXT = ThemeContext as Context<any>;
9
10
export const setupStyled = (config: StyledConfig) => {
11
if (!config.ThemeContext) {
0 commit comments