0.3.4 • Published 7 years ago

react-native-overlay-spinner v0.3.4

Weekly downloads
5
License
ISC
Repository
github
Last release
7 years ago

React Native Overlay Spinner

NPM version MIT License

A lightweight, easy-to-use alternative to react-native-loading-spinner-overlay

Index

Install

npm install --save react-native-overlay-spinner

Usage

This usage shows the default styles and properties.

PropertyTypeDefaultDescription
colorstring#ffffffChanges the spinner's color. Will accept standard colors like blue, and hex values like #f6f6f6.
backgroundColorstringrgba(0, 0, 0, 0.25)Color and opacity for full-screen spinner backdrop. rgba is rgb + alpha channel. MDN - rgba
sizestringlargeSet the spinner's size. Possible values are small, large
textstring""Optional text field to be shown.
textColorstring#ffffffHex value for text color
textColorinteger18Font size for text

Development

  1. Fork/clone this repository
  2. Make changes in src/ directory
  3. Submit a pull request (with notes of fixes/improvements)

Contributors

License

MIT