Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

React Native animations via Core Animation or RenderThread API

License

Notifications You must be signed in to change notification settings

openland/react-native-fast-animations

Repository files navigation

react-native-fast-animations

React Native animations via Core Animation or RenderThread API

Status

Used in production at Openland for over the year.

Installation

0. Setup Swift and Kotlin

  • Open your iOS project in Xcode and create empty Swift file and bridging header to enable Swift support

  • Modify android/build.gradle:

    buildscript {
      ext {
        ...
    +   kotlinVersion = "1.3.50"
      }
    ...
    
      dependencies {
    +   classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
        ...

1. Install latest version from npm

yarn add react-native-fast-animations

2. Install pods

cd ios && pod install && cd ..

Example

import * as React from 'react'
import { View } from 'react-native'
import {
  FastAnimations
} from 'react-native-fast-animations'

License

MIT

About

React Native animations via Core Animation or RenderThread API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published