react-native-4-bubbles-loader

A collection of loading spinners animated for react native

Usage no npm install needed!

<script type="module">
  import reactNative4BubblesLoader from 'https://cdn.skypack.dev/react-native-4-bubbles-loader';
</script>

README

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>