We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ComponentProps
@types/react
1 parent fb8cfc0 commit 8ccfbf8Copy full SHA for 8ccfbf8
src/types.ts
@@ -1,4 +1,9 @@
1
-import { ClassAttributes, ComponentClass, ComponentType } from 'react'
+import {
2
+ ClassAttributes,
3
+ ComponentClass,
4
+ ComponentType,
5
+ FunctionComponent,
6
+} from 'react'
7
8
import { Action, AnyAction, Dispatch } from 'redux'
9
@@ -82,7 +87,7 @@ export type GetLibraryManagedProps<C> = JSX.LibraryManagedAttributes<
82
87
export type ConnectedComponent<
83
88
C extends ComponentType<any>,
84
89
P
85
-> = ComponentType<P> &
90
+> = FunctionComponent<P> &
86
91
NonReactStatics<C> & {
92
WrappedComponent: C
93
}
0 commit comments