Types are assignable to type 'ComponentType | ExoticComponent<{}> #259
|
Hi Everyone, I'm trying to use this dependency for my project by passing below props and components prop with my custom functional components as shown below.
|
Replies: 1 comment
|
Your typing is too narrow. I believe you want |
Your typing is too narrow. I believe you want
React.ComponentType<TProps>in order to handle class components or functional components