Open dibenso opened 11 months ago
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
9.7.3
Browsing the docs for useTransition on https://www.react-spring.dev/docs/components/use-transition shows the incorrect tooltip content for the following props:
useTransition
enter
update
leave
The tooltip content for these props show The to prop, is very versatile, for more information checkout out Async Animations.
The to prop, is very versatile, for more information checkout out Async Animations.
Check the References section in the useTransition docs and activate the tooltips for:
References
They display incorrect information about each prop.
The tooltip should show information relevant to what each prop does, instead of the to prop for all of them.
to
https://www.react-spring.dev/docs/components/use-transition#reference
Feel free to make a PR! 😊
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