react-native-loader-overlay-updated

1.0.0 • Public • Published

react-native-loader-overlay

This package using the react-native-loader and show the loading on the modal

Demo

Usage

Installation

Install it via npm:

npm i -S react-native-loader-overlay

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 Loading from 'react-native-loader-overlay';

// ...
this.loading = Loading.show({
  color: '#FFFFFF',
  size: 20,
  overlayColor: 'rgba(0,0,0,0.5)',
  closeOnTouch: false,
  loadingType: 'Bars', // 'Bubbles', 'DoubleBounce', 'Bars', 'Pulse', 'Spinner'
})
...
Loading.hide(this.loading)

Package Sidebar

Install

npm i react-native-loader-overlay-updated

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

59.6 kB

Total Files

4

Last publish

Collaborators

  • melvyn