react-animated-numbers icon indicating copy to clipboard operation
react-animated-numbers copied to clipboard

Doesn't work with currency formatted numbers

Open nikhil-thadani opened this issue 2 years ago • 1 comments

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.

nikhil-thadani avatar Jan 30 '23 04:01 nikhil-thadani

Agree, it could be nice to add a prepend / append option to add locale.

Atm, you can workaround this by using a display: flex ;)

doliG avatar Jun 01 '23 10:06 doliG