# react-icon-dance

> A icon dance style cpmponent deved with react.

Latest version **1.1.0** (published 2021-01-02) · 0 weekly downloads

## Install

```sh
npm install react-icon-dance
pnpm add react-icon-dance
yarn add react-icon-dance
bun add react-icon-dance
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2021-01-02 |
| First published | 2021-01-01 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | wj871287 |

## Links

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

## Dependencies (1)

- [react](https://npm.io/package/react.md) ^16.12.0

## Recent versions

- 1.1.0 (latest) — 2021-01-02
- 1.0.1 — 2021-01-02
- 1.0.0 — 2021-01-01

## README

# Getting Started

A icon dance style cpmponent deved with react.

## 📦 Install

```bash
yarn add react-icon-dance
```

or you can:

```bash
npm install react-icon-dance
```

## 🚀 Usage

```jsx | pure
import Icon from 'react-icon-dance';
import icon from '../assets/icon.png';

function App() {
  return (
    <Icon size={64} interval={10} src={icon} />
  )
}
```

## 📔 API

| Params     | Description                                  | Type     | Default |
|------------|:----------------------------------------------|:----------|:---------|
| async | The async properties of extarnal resources `<script>` | `boolean` | true       |
| media | The media properties of extarnal resources `<link>`, support `all`/`screen`/`print`/`handheld` | `string` | all       |
| target | The DOM or Refs of container which need to load the `<img>` | `HTMLElement` \| `(() => HTMLElement)` \| `MutableRefObject` | -      |

## 🔨 Contribute

Install dependencies,

```bash
$ npm i
```

Start the dev server,

```bash
$ npm start
```

Build documentation,

```bash
$ npm run docs:build
```

Build library via `father-build`,

```bash
$ npm run build
```

## License

MIT

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