1.1.4 • Published 5 years ago

react-native-spinkit-fix-new v1.1.4

Weekly downloads
21
License
-
Repository
github
Last release
5 years ago

react-native-spinkit

npm npm

A collection of animated loading indicators
React native port of SpinKit.

Preview

npm.io

Getting started

npm install react-native-spinkit@latest --save For RN < 0.40 support, use react-native-spinkit@0.1.5

Automatically link the library

react-native link

For RN projects < 0.29 link the library automatically using RNPM rnpm link react-native-spinkit

Manual linking - IOS

Follow the wiki available here

Manual linking - Android

Follow the wiki available here

Example

Check index.ios.js in the Example folder.

Properties

PropDefaultTypeDescription
isVisibletruebooleanVisibility of the spinner
color#000000stringColor of the spinner
size37numberSize of the spinner
typePlanestringStyle type of the spinner

List of available types

  • CircleFlip
  • Bounce
  • Wave
  • WanderingCubes
  • Pulse
  • ChasingDots
  • ThreeBounce
  • Circle
  • 9CubeGrid
  • WordPress (IOS only)
  • FadingCircle
  • FadingCircleAlt
  • Arc (IOS only)
  • ArcAlt (IOS only)

Acknowledgements

IOS library: SpinKit-ObjC
Android library: Android-SpinKit

License

(c) 2016 Maxime Mezrahi, MIT license.