@nandorojo/redrip

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

Usage no npm install needed!

<script type="module">
  import nandorojoRedrip from 'https://cdn.skypack.dev/@nandorojo/redrip';
</script>

README

@nandorojo/redrip

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

Expo support included.

Installation

# 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

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 to learn how to contribute to the repository and the development workflow.

License

MIT