Tiny React Native component that formats a timestamp (of a date in the future) to a readable countdown to that time
npm install react-native-countdown-text
A React Native component that converts a timestamp of a future date to a readable countdown clock, based on Moment.js since version 1.0.4.
```
npm install --save react-native-countdown-text
`js
import React, { Component } from 'react';
import { Countdown } from 'react-native-countdown-text';
export default class App extends Component {
render() {
return
}
}
`
| Name | Type | Default | Description |
|---|---|---|---|
|format|string| d:kk:mm:ss |The format that will be applied to the milliseconds|finishTime
||number| REQUIRED |The future date timestamp|onFinish
||func||Will run when it's the finish time|textStyle
||object`||The style that will be applied to the countdown text|