react-native-animate-number
react-native-animate-number copied to clipboard
How to set start value ??
Counter always start from 0 how to set an other start value ?
It actually contains in the master branch, but it hasn't be released.
This is already added now. Use initial prop. Documentation not yet updated I think.
Apparently this is not released yet (or something strange is happening that I don't know). The lib react-native-animate-number-0.1.2.tgz still points to v0.1.1, despite its name.
By the way, I tested putting the v0.1.2 master branch code inside my code and it worked fine, setting the initialValue
prop. Hopefully someone solves this issue soon.
I made a published fork of this project that contains this change since this project appears dead: https://www.npmjs.com/package/react-native-animate-number-renewed