talalmajali / react-native-countdown-component

React Native CountDown
MIT License
271 stars 234 forks source link

How to change the value of days, hours ? #6

Closed linuissac closed 6 years ago

linuissac commented 6 years ago

Tried this <CountDown until={3} onFinish={() => alert('finished')} onPress={() => alert('hello')} size={20} timeToShow={['1','1','48','10']}

  />

But timer is not displaying.

talalmajali commented 6 years ago

@linuissac You cant change the text of the Days, Hours.. for now, but you can control what to digits to show (timeToShow), it will be implemented in the next release

linuissac commented 6 years ago

So it will remain as 00:00 itself?I was trying to implement this timer in my app.So currently the second will only change right?

linuissac commented 6 years ago

I was able to make a change in values for minutes and seconds by changing the value for until