This commit is contained in:
Satyajit Sahoo
2017-05-31 17:48:36 +05:30
committed by GitHub
parent f58315775a
commit b68f446f09

View File

@@ -9,7 +9,7 @@ type State = {
theme: Theme,
};
export default function withThemeName<T: *>(
export default function withTheme<T: *>(
Comp: ReactClass<T>
): ReactClass<T> {
class ThemedComponent extends PureComponent<void, *, State> {
@@ -81,7 +81,7 @@ export default function withThemeName<T: *>(
}
};
_subscription: Object;
_subscription: { remove: Function };
_root: any;
render() {