mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
10 lines
332 B
TypeScript
10 lines
332 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>>;
|