react-native-4-bubbles-loader

1.0.1 • Public • Published

react-native-4-bubbles-loader

A collection of animated spinners for react native using ReactART.

Demo

Usage

Installation

Install it via npm:

npm i -S react-native-4-bubbles-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 it from 'react-native-4-bubbles-loader'
  • include specifying the size and 4 colors for each bubble as an array of colors
import { Bubbles } from 'react-native-4-bubbles-loader';
 
// ...
<View>
  <Bubbles size={10} color="['#ff0000', '#00ff00', '#0000fff', '#ff0000']" />
</View>
 

Package Sidebar

Install

npm i react-native-4-bubbles-loader

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

6.88 kB

Total Files

8

Last publish

Collaborators

  • olehsubbota