react-native-countdown-clock
v2.0.2
Published
React Native countdown clock
Downloads
34
Maintainers
Readme
React Native Countdown Clock
A basic React Native countdown clock written in pure ECMA 6 JavaScript and CSS. Please feel free to customise and use as you please.
Installation
npm install react-native-countdown-clock --save
Usage
import CountdownClock from 'react-native-countdown-clock'
<CountdownTimer
invalidTimeError="Please set a time to begin a countdown"
countdownCompleteMessage="Times up!"
vibrateOnComplete="true"
infoText="Some helpful info text displayed above the time input"
startButtonTitle="Start"
startButtonColor="#25b31d"
startButtonLabel="Press to start"
pauseButtonTitle="Pause"
pauseButtonColor="#ada2a2"
pauseButtonLabel="Press to pause"
resetButtonTitle="Reset"
resetButtonColor="#ff0101"
resetButtonLabel="Press to reset"
/>
Bugs & Contributions
Bugs, features and pull requests always welcome.
github.com/GlenHughes/react-native-countdown-clock/issues
Also, it's always just nice to hear how people are using it. Feel free to get in touch.
- Email: [email protected]
- Web: www.glenhughes.me