# @nandorojo/redrip

An elegant animation library for React Native (+ Web), powered by Reanimated 2.

Expo support included.

## Installation

```sh
# coming soon
npm install @nandorojo/redrip

# or
yarn add @nandorojo/redrip
```

You also need to install Reanimated 2.x. This has been tested with `2.0.0-rc.0`. Please refer to their docs for installation.

## Usage

See this tweet for now: https://twitter.com/FernandoTheRojo/status/1348093995277299712

```js
import * as ReDrip from '@nandorojo/redrip';

<View
  from={{
    opacity: 0,
  }}
  animate={{
    opacity: 1,
  }}
  onDidAnimate={(key, finished) => {
    console.log('[complete]', key, finished); // [complete] scale, true
  }}
/>;
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
