# react-awesome-snippets-blink

> 生成闪动动画

Latest version **0.0.2** (published 2020-03-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-awesome-snippets-blink
pnpm add react-awesome-snippets-blink
yarn add react-awesome-snippets-blink
bun add react-awesome-snippets-blink
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-03-23 |
| First published | 2018-01-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | qiqiboy |
| Maintainers | qiqiboy |

## Links

- npm: https://www.npmjs.com/package/react-awesome-snippets-blink
- Repository: https://qiqiboy@github.com/qiqiboy/react-snippets
- Homepage: https://github.com/qiqiboy/react-snippets.git#readme
- Issues: https://github.com/qiqiboy/react-snippets/issues
- npm.io page: https://npm.io/package/react-awesome-snippets-blink

## Recent versions

- 0.0.2 (latest) — 2020-03-23
- 0.0.1 — 2018-01-22

## README

# 闪动动画组件
传入一组图片，自动按帧播放

### 安装

```
npm install react-awesome-snippets-blink --save
```

### 属性参数

* **{Boolean} playing** 是否播放
* **{Number} duration** 播放一组动画所需时间
* **{Array} frames** 每一帧图片地址

### 使用

```javascript
import React from 'react';
import { render } from 'react-dom';
import Blink from 'react-awesome-snippets-blink';

import pic0 from 'images/pic0.png';
import pic1 from 'images/pic1.png';

render(
    <Blink frames={[pic0, pic1]} duration={800} playing={true} />,
    document.getElementById('root')
);
```

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