# @mizchi/react-animation

> react animation container

Latest version **0.1.1** (published 2016-01-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mizchi/react-animation
pnpm add @mizchi/react-animation
yarn add @mizchi/react-animation
bun add @mizchi/react-animation
```

## 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.1.1 |
| Published | 2016-01-04 |
| First published | 2016-01-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | mizchi |
| Maintainers | mizchi |

## Links

- npm: https://www.npmjs.com/package/@mizchi/react-animation
- npm.io page: https://npm.io/package/@mizchi/react-animation

## Dependencies (2)

- [raf](https://npm.io/package/raf.md) ^3.1.0
- [performance-now](https://npm.io/package/performance-now.md) ^0.2.0

## Recent versions

- 0.1.1 (latest) — 2016-01-04
- 0.1.0 — 2016-01-04

## README

# react-animation

Inspired by react-motion

```
$ npm install @mizchi/react-animation
```

```js
import * as React from "react";
import Animation from "@mizchi/react-animation";

class MovingCircle extends React.Component<{}, {}> {
  render() {
    return (
      <Animation duration={1000} loop={true}>
        {progress =>
          <circle
            cx={progress * 100} cy={30}
            r={25}
            stroke="grey" strokeWidth={1}
            fill="wheat"
          />
        }
      </Animation>
    );
  }
}
```

## TODO

- documentation
- test

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