Do you want to request a feature or report a bug?
bug
What is the current behavior?
I am trying to use transition prop on the container and am getting a type issue because of the:
transition?: React.ComponentType;
Not taking in
;
This is the typescript error I am getting:
JSX.Element' is not assignable to type 'ComponentClass<{}, any> | FunctionComponent<{}> | undefined'.
I have fixed it by hardcoding the types file to have:
interface CommonOptions<P> {
and
transition?: React.ComponentType;<P>
Do you know if this kind of issue will be fixed in V6?
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?"react": "16.13.1","react-dom": "16.13.1","@types/react": "16.9.34","@types/react-dom": "16.9.6",
Do you want to request a feature or report a bug? bug
What is the current behavior? I am trying to use transition prop on the container and am getting a type issue because of the:
transition?: React.ComponentType;
Not taking in;
This is the typescript error I am getting:
JSX.Element' is not assignable to type 'ComponentClass<{}, any> | FunctionComponent<{}> | undefined'.
I have fixed it by hardcoding the types file to have:
interface CommonOptions<P> {
andtransition?: React.ComponentType;<P>
Do you know if this kind of issue will be fixed in V6?
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
"react": "16.13.1",
"react-dom": "16.13.1",
"@types/react": "16.9.34",
"@types/react-dom": "16.9.6",