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.
1 parent b8ed74a commit 3c95a03Copy full SHA for 3c95a03
packages/overmind-react/src/index.ts
@@ -19,9 +19,13 @@ const isNode =
19
process.title.includes('node')
20
21
export type IReactComponent<P = any> =
22
+ | React.FC<P>
23
| React.FunctionComponent<P>
24
| React.ComponentClass<P>
- | React.ClassicComponentClass<P>
25
+ | React.ForwardRefExoticComponent<P>
26
+ | React.MemoExoticComponent<React.ComponentType<P>>
27
+ | React.LazyExoticComponent<React.ComponentType<P>>
28
+ | React.ComponentType<P>
29
30
function getFiberType(component) {
31
if (component.type) {
0 commit comments