Skip to content

buhe/react-native-countdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-native-countdown

A component for react-native

Add it to your project

Run npm install react-native-countdown --save

// Within your render function. Count down after press it.
<CountDown
  onPress={this.sendAgain} //default null
  text={'Try again'} //default ''
  time={60} //default 60
  buttonStyle={{padding:20}}
  textStyle={{color:'black'}} //default black
  disabledTextStyle={{color:'gray'}} //default gray
/>

TODOS

  • Add custom style

About

A <Countdown /> component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published