JSPM

react-native-loader

1.3.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 214
  • Score
    100M100P100Q79964F
  • License MIT

A collection of loading spinners animated for react native

Package Exports

  • react-native-loader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-loader

A collection of animated spinners for react native using ReactART.

Demo

Usage

Installation

Install it via npm:

npm i -S react-native-loader

Android

For Android, it works out of the box.

iOS

For iOS, add ART.xcodeproj from node_modules/react-native/Libraries/ART to your Libraries then link libART.a.

How to use

import { Bubbles, DoubleBounce, Bars, Pulse } from 'react-native-loader';

// ...
<View>
  <Bubbles size={10} color="#FFF" />
  <Bars size={10} color="#FDAAFF" />
  <Pulse size={10} color="#52AB42" />
  <DoubleBounce size={10} color="#1CAFF6" />
</View>