Skip to content

Spring renderprops v9 without animated.* element #1005

Discussion options

You must be logged in to vote

You need interpolation. Try this:

return (
  <CircularProgressbar
    value={percentage.to(p => Math.round(p))}
  />
)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by aleclarson
Comment options

You must be logged in to vote
4 replies
@aleclarson
Comment options

@sanderwapstra
Comment options

@aleclarson
Comment options

@sanderwapstra
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants