@noopejs/spinkit-react
v1.0.0
Published
React loading spinner components
Downloads
3
Maintainers
Readme
noopejs-spinkit-react
Discription
This package provides a bunch of loading spinners being rendered as components for React applications .
Installation
npm install --save @noopejs/spinkit
Usage
// Example: RealisticDottedCircle loading spinner
// In your MyComponent.js...
import RealisticDottedCircle from '@noopejs/spinkit';
function MyComponent(){
return(
<div>
<RealisticDottedCircle size={15} color="#00d8ff" />
</div>
)
}
export default MyComponent;
Attributes
| attribute | type | discription |
| :---: | :---: | :---: |
| size | Number | Defines a squared size for a spinner component in pixels.[DEFAULT]: 10
|
| color | String | Gives a color as in a regular CSS color value (i.e white, pink...,etc are allowed too).[DEFAULT]: rgb(54, 215, 183)
|