talalmajali / react-native-countdown-component

React Native CountDown
MIT License
271 stars 234 forks source link

Infinity Load when set "timeToShow" only H,M,S #11

Closed DeVoresyah closed 6 years ago

DeVoresyah commented 6 years ago

Hello, I'm trying to remove Days from showing. I'm using this code

<CountDown
      until={100}
      onFinish={() => alert('finished')}
      onPress={() => alert('hello')}
      size={12}
      digitBgColor={'#fff'}
      digitTxtColor={'#1CC625'}
      timeToShow={['H', 'M', 'S']}
      labelH={''}
      labelM={''}
      labelS={''}
/>

but when I run it, the component looping to create the component

talalmajali commented 6 years ago

@DeVoresyah fixed 0473db72b426ae35079502d0375010db0c73c8ca 1.7.2 Thanks