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.
2 parents 07bec87 + 390eac2 commit c605b49Copy full SHA for c605b49
typings/index.d.ts
@@ -15,7 +15,7 @@ export type ThemingType<Theme> = {
15
$Without<Props, 'theme'> & { theme?: $DeepPartial<Theme> }
16
> &
17
hoistNonReactStatics.NonReactStatics<typeof WrappedComponent>;
18
- useTheme(overrides?: $DeepPartial<Theme>): Theme;
+ useTheme<T = Theme>(overrides?: $DeepPartial<T>): T;
19
};
20
21
export const createTheming: <Theme>(defaultTheme: Theme) => ThemingType<Theme>;
0 commit comments