# react-coundown

> coundown button

Latest version **1.0.2** (published 2019-02-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-coundown
pnpm add react-coundown
yarn add react-coundown
bun add react-coundown
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-02-19 |
| First published | 2019-02-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | bniu |

## Links

- npm: https://www.npmjs.com/package/react-coundown
- npm.io page: https://npm.io/package/react-coundown

## Dependencies (3)

- [react](https://npm.io/package/react.md) 16.2.0
- [react-dom](https://npm.io/package/react-dom.md) 16.7.0
- [prop-types](https://npm.io/package/prop-types.md) 15.6.0

## Recent versions

- 1.0.2 (latest) — 2019-02-19
- 1.0.1 — 2019-02-19

## README

## Install
```
npm i react-coundown
```

## Usage
```
import CounDown from 'react-coundown';

render(){
  let {isEnd} = this.state;
        let options = {
            callBack: this.countDownEnd,
            className: 'countdown',
            disabledClassName: 'countdownDisabled'
        }

  return (
    <CounDown options={options} /> 
  )
}

```
callBack 倒计时结束的回调

className 按钮样式

disabledClassName 按钮disabled样式

## Examples

---
_Source: https://npm.io/package/react-coundown · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
