react-native-animate-number icon indicating copy to clipboard operation
react-native-animate-number copied to clipboard

How to set start value ??

Open ClementLANGENDORF opened this issue 5 years ago • 4 comments

Counter always start from 0 how to set an other start value ?

ClementLANGENDORF avatar Jul 24 '19 15:07 ClementLANGENDORF

It actually contains in the master branch, but it hasn't be released.

Ankarrr avatar Feb 13 '20 09:02 Ankarrr

This is already added now. Use initial prop. Documentation not yet updated I think.

diganta162004 avatar Jun 29 '20 21:06 diganta162004

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.

danfmaia avatar May 27 '21 15:05 danfmaia

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

nmeyvis avatar Jan 30 '22 22:01 nmeyvis