Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,12 +1,19 @@
import { StyleSheet } from 'jss';
import * as React from 'react';
import { Theme } from './createMuiTheme';
import { StyleRules, StylesCreator } from './withStyles';
interface SheetManagerTheme {
refs: number;
sheet: StyleSheet<string>;
}
export interface MuiThemeProviderProps {
theme?: Theme<any>;
sheetsManager?: Object;
theme: Theme | ((outer: Theme | null) => Theme);
sheetsManager?: Map<StylesCreator, Map<Theme, SheetManagerTheme>>;
children: React.ReactNode;
}
declare const MuiThemeProvider: React.ComponentType<MuiThemeProviderProps>
declare const MuiThemeProvider: React.ComponentType<MuiThemeProviderProps>;
export default MuiThemeProvider
export default MuiThemeProvider;