Closed nickjs closed 2 years ago
Thanks @xcv58!
@xcv58 Can you create a release for this change? I am running into this issue with the latest version since it doesn't include this change
@xcv58 Can you create a release for this change? I am running into this issue with the latest version since it doesn't include this change
Sorry I don't have that permission to do the release, waiting for this https://github.com/joshwcomeau/react-flip-move/issues/233#issuecomment-1107257677
@xcv58 Can you create a release for this change? I am running into this issue with the latest version since it doesn't include this change
Sorry I don't have that permission to do the release, waiting for this https://github.com/joshwcomeau/react-flip-move/issues/233#issuecomment-1107257677
Saw that after posting! Thanks for taking the time to reply.
Hi!
@types/react
has been updated for react 18 to no longer include an implicitchildren
prop on everyComponent
. This means<FlipMove>
is no longer usable with the latest react typings because you must passchildren
to<FlipMove>
but TypeScript thinks the<FlipMove>
component doesn't accept anychildren
.This PR adds an explicit
children
prop to the typings including a doc comment.Thanks!