1.0.0 • Published 4 years ago
@noopejs/spinkit-react v1.0.0
noopejs-spinkit-react
Discription
This package provides a bunch of loading spinners being rendered as components for React applications .
Installation
npm install --save @noopejs/spinkitUsage
// 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) |
License
1.0.0
4 years ago