-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
When try to use this example in my project
export type AppTheme = typeof myTheme;
export const useAppTheme = () => useTheme();
This not overwrite defaultTheme with myTheme, I investigate the source code of useTheme and I discover that have a theme parameter that not is in the example:
export const useAppTheme = () => useTheme(myTheme);