React Native Spinner Button Component

Category: Featured , Loading , React | August 8, 2018
Author: simformsolutions
Views Total: 100
Official Page: Go to website
Last Update: August 8, 2018
License: MIT

This is a pure javascript and react-native Button component with a Spinner embedded in it. In many of the react-native projects we have worked on required the button to be disabled when an app is processing something on tap of that button, and a loading indicator on it or beside it, so the user can be made aware of app doing some processing.

Features:

  • Drop in replacement for a button and indicator combo
  • Very easy to use
  • Pure javascript component
  • Consistent look and feel on both iOS and Android
  • Any spinner from react-native-indicators can be used with most of its properties
  • The animations fadeInflipInX and flipInY can be used from react-native-animatable
  • Give any style to your button

Installation:

# NPM
$ npm install react-native-spinner-button --save

Preview:

React Native Spinner Button Component-min