react-native-overlay-spinner

0.3.4 • Public • Published

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.

Property Type Default Description
color string #ffffff Changes the spinner's color. Will accept standard colors like blue, and hex values like #f6f6f6.
backgroundColor string rgba(0, 0, 0, 0.25) Color and opacity for full-screen spinner backdrop. rgba is rgb + alpha channel. MDN - rgba
size string large Set the spinner's size. Possible values are small, large
text string "" Optional text field to be shown.
textColor string #ffffff Hex value for text color
textColor integer 18 Font 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

Package Sidebar

Install

npm i react-native-overlay-spinner

Weekly Downloads

3

Version

0.3.4

License

ISC

Last publish

Collaborators

  • jmknoll