Simple counter component inspired by Kerumen/react-native-counter. Thanks.
You can start to use the Counter.js file by adding it to the project manually.
import Counter from './Counter.js';
<Counter
start = {250} // Beginning of the counter
end = {1750} // End of the counter
time = {8000} // Duration (in ms) of the counter
digits = {0} // Number of digits after the comma
style = {{ backgroundColor: '#555', color: '#fff', fontSize: 26 }} // Style
suffix = '$' // Suffix of the counter
/>
You can browse to the Example.js file for the image on the right.