1.0.30 • Published 7 months ago

@semiorbit/ispinner v1.0.30

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months 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

7 months ago

1.0.26

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago