1.0.1 • Published 6 years ago

react-native-spinjs v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

react-native-spinjs

Loading indicator inspired by the smart people over at https://spin.js.org

NOTE: this project is incomplete, and only dots are supported at the moment

Feature requests are tracked here: https://github.com/dctalbot/react-native-spinjs/projects/1

Download & Installation

$ yarn add react-native-spinjs

Usage

import Spin from 'react-native-spinjs'

// Put a default spinner
<Spin />

// Pass in a config object
<Spin config={configObject}/>

// For convenience, pass in just a config
<Spin color="white"/>

Configurable props include:

namedefault
lines12
width5
radius50
color'gainsboro'
speed100

Contributing

Welcome, encouraged, and needed if this is to become a closer reimplementation of spin.js

PR's, issues, and discussion are welcome at https://github.com/dctalbot/react-native-spinjs

Feature requests are tracked here: https://github.com/dctalbot/react-native-spinjs/projects/1

License

This project is licensed under the MIT License

1.0.1

6 years ago

1.0.0

6 years ago