0.0.1 • Published 6 years ago

flare-react-native v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

React Native Flare

(DO NOT USE: WORK IN PROGRESS...)

A React Native component (iOS and Android) to display and animate your Flare files.

Installation

$ npm install flare-react-native

Usage

Add the FlareComponent and reference the file and animation to play.

import React from 'react';
import Flare from 'flare-react-native';

class BasicExample extends React.Component {
  render() {
    return
    <Flare source={require('./penguin.flr')} autoPlay loop />;
  }
}

export default BasicExample;