1.0.5 • Published 7 years ago

react_native_countdowntimer v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

react-native-CountDowntimer

A simple countdown component with React Native which Only needs a end time.

中文

Props

date

A string width valid date like isoformat or js dates

Example

1.npm install
//in package.json
"dependencies": {
    "react_native_countdowntimer":"1.0.2"
  }
//in your js code
import CountDownTimer from 'react_native_countdowntimer' 

2.local way
import CountDownReact from './CountDownReact' //


 <CountDownTimer
          //date={new Date(parseInt(endTime))}
          date="2017-11-28T00:00:00+00:00"
          days={{plural: 'Days ',singular: 'day '}}
          hours=':'
          mins=':'
          segs=''

          daysStyle={styles.time}
          hoursStyle={styles.time}
          minsStyle={styles.time}
          secsStyle={styles.time}
          firstColonStyle={styles.colon}
          secondColonStyle={styles.colon}
      />

Contact

QQ:1196681436

Weibo:http://www.weibo.com/u/1693069642

email:jackuhan@gmail.com

Welcome to pull request

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago