1.0.0 • Published 2 years ago

@noopejs/spinkit-react v1.0.0

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

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

attributetypediscription
sizeNumberDefines a squared size for a spinner component in pixels.DEFAULT: 10
colorStringGives a color as in a regular CSS color value (i.e white, pink...,etc are allowed too).DEFAULT: rgb(54, 215, 183)

License

MIT