Spring renderprops v9 without animated.* element #1005
Answered
by
aleclarson
sanderwapstra
asked this question in
Support
-
Hi! Is something like this still possible in v9? I doesn't work when I try it like this (but is working fine when I replace
Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
aleclarson
May 12, 2020
Replies: 2 comments 4 replies
-
You need interpolation. Try this: return (
<CircularProgressbar
value={percentage.to(p => Math.round(p))}
/>
) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aleclarson
-
Hi @aleclarson, thanks for your quick reply! That doesn't work unfortunately. Neither is this:
Or
But this is working:
That's why I thought it has to be an animated element. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need interpolation. Try this: