# react-native-4-bubbles-loader
A collection of animated spinners for react native using ReactART.

![Demo](https://s3.gifyu.com/images/20191010_122929.gif)

# 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

```jsx
import { Bubbles } from 'react-native-4-bubbles-loader';

// ...
<View>
  <Bubbles size={10} color="['#ff0000', '#00ff00', '#0000fff', '#ff0000']" />
</View>

```
