@nandorojo/redrip
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@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

Package Sidebar

Install

npm i @nandorojo/redrip

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

902 kB

Total Files

103

Last publish

Collaborators

  • fernandorojo