Open jorrit opened 2 years ago
In older versions of @types/react ComponentType is an alias for ComponentClass and SFC. In @types/react 18+ SFC no longer exists and ComponentType is an alias for ComponentClass and FunctionComponent.
ComponentType
ComponentClass
SFC
FunctionComponent
In older versions of @types/react
ComponentType
is an alias forComponentClass
andSFC
. In @types/react 18+SFC
no longer exists andComponentType
is an alias forComponentClass
andFunctionComponent
.