Completely updated React, fixed #11, (hopefully)
This commit is contained in:
12
goTorrentWebUI/node_modules/material-ui/styles/withTheme.d.ts
generated
vendored
12
goTorrentWebUI/node_modules/material-ui/styles/withTheme.d.ts
generated
vendored
@@ -1,5 +1,11 @@
|
||||
import { Theme } from './createMuiTheme';
|
||||
|
||||
export default function withTheme<P = {}, T extends Theme = Theme>():
|
||||
(component: React.ComponentType<P & { theme: T }>
|
||||
) => React.ComponentClass<P>;
|
||||
export interface WithTheme {
|
||||
theme: Theme;
|
||||
}
|
||||
|
||||
declare const withTheme: () => <P>(
|
||||
component: React.ComponentType<P & WithTheme>,
|
||||
) => React.ComponentClass<P>;
|
||||
|
||||
export default withTheme;
|
||||
|
Reference in New Issue
Block a user