You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
334 B
TypeScript
10 lines
334 B
TypeScript
import { DefaultTheme } from '../defaultTheme';
|
|
|
|
export interface ThemeProviderProps<Theme = DefaultTheme> {
|
|
children?: React.ReactNode;
|
|
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
}
|
|
export default function ThemeProvider<T = DefaultTheme>(
|
|
props: ThemeProviderProps<T>,
|
|
): React.ReactElement<ThemeProviderProps<T>>;
|