Skip to content

GlenHughes/react-native-countdown-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Countdown Clock

Screenshot

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'
<CountdownClock 
    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.

About

REACT NATIVE Test Countdown Clock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published