-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Which react-spring target are you using?
-
@react-spring/web
-
@react-spring/three
-
@react-spring/native
-
@react-spring/konva
-
@react-spring/zdog
What version of react-spring are you using?
9.7.3
What's Wrong?
Browsing the docs for useTransition
on https://www.react-spring.dev/docs/components/use-transition shows the incorrect tooltip content for the following props:
enter
update
leave
The tooltip content for these props show The to prop, is very versatile, for more information checkout out Async Animations.

To Reproduce
Check the References
section in the useTransition docs and activate the tooltips for:
enter
update
leave
They display incorrect information about each prop.
Expected Behaviour
The tooltip should show information relevant to what each prop does, instead of the to
prop for all of them.
Link to repo
https://www.react-spring.dev/docs/components/use-transition#reference