flare-react-native

0.0.1 • Public • Published

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;

Package Sidebar

Install

npm i flare-react-native

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

2.32 kB

Total Files

4

Last publish

Collaborators

  • abranhe