1.0.30 • Published 2 years ago

@semiorbit/ispinner v1.0.30

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

Semiorbit iSpinner

A simple react spinner like iOS UIActivityIndicatorView. Custom size and color features have been added.

iSpinner Preview

Usage

import ISpinner from "@semiorbit/ispinner";

<ISpinner />

// dark background
<div className="black-div">
    <ISpinner white />
</div>

// custom color
<ISpinner color="red" large />

// custom size
<ISpinner size={40} />

iSpinner Props

PropertyTypeDefault ValueDescription
whitebooleanfalseWhite spinner for dark background
largebooleanfalseSpinner large size "35px", normal size "20px"
sizenumbernullSpinner width and height
colorstringnullSpinner color eg. "red" or "#FF0000"
animatingbooleantrueAnimating spinner if true

Other properties are added to "ispinner" div element.

NB. Spinner css has been forked from this source: Demo

Preview

iSpinner Preview

License

MIT

1.0.30

2 years ago

1.0.26

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.22

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago