Open nikhil-thadani opened 1 year ago
It's good if we use it just for numbers, but if we need to use it with real world data i.e. formatted numbers according to currency then it's of no use, cause the formatted string can't be accepted in animateToNumber prop.
animateToNumber
Agree, it could be nice to add a prepend / append option to add locale.
Atm, you can workaround this by using a display: flex ;)
It's good if we use it just for numbers, but if we need to use it with real world data i.e. formatted numbers according to currency then it's of no use, cause the formatted string can't be accepted in
animateToNumber
prop.