mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Improvement to material-ui type definition
case 2. Improvement to existing type definition. From Material-UI Reference (http://www.material-ui.com/#/customization/themes): "The lightBaseTheme is the default so you will not need to do anything to use it other than using MuiThemeProvider as described in Usage. [http://www.material-ui.com/#/get-started/usage]" muiTheme Property should be optional.
This commit is contained in:
parent
b20eb12c4c
commit
4bc3bdf7bb
2
material-ui/material-ui.d.ts
vendored
2
material-ui/material-ui.d.ts
vendored
@ -452,7 +452,7 @@ declare namespace __MaterialUI {
|
||||
export function themeDecorator(muiTheme: Styles.MuiTheme): <TFunction extends Function>(Component: TFunction) => TFunction;
|
||||
|
||||
interface MuiThemeProviderProps extends React.Props<MuiThemeProvider> {
|
||||
muiTheme: Styles.MuiTheme;
|
||||
muiTheme?: Styles.MuiTheme;
|
||||
}
|
||||
export class MuiThemeProvider extends React.Component<MuiThemeProviderProps, {}>{
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user