forked from p96170835/amis
commit
252728006a
|
@ -124,7 +124,7 @@ export interface ThemeProps {
|
|||
}
|
||||
|
||||
export let defaultTheme: string = 'default';
|
||||
export const ThemeContext = React.createContext(undefined);
|
||||
export const ThemeContext = React.createContext('');
|
||||
|
||||
export function themeable<
|
||||
T extends React.ComponentType<React.ComponentProps<T> & ThemeProps> & {
|
||||
|
|
Loading…
Reference in New Issue