JSPM

  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q83424F
  • License ISC

A library for react loading animation

Package Exports

  • spinny-loader
  • spinny-loader/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (spinny-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

spinny-loader

A React component library for loading animations Installation Bash npm install spinny-loader Usage Import the components you need and use them in your React app: Jsx import { SimpleLoader, PulseSphere, WaveFlow } from 'spinny-loader'; Components SimpleLoader A simple loading animation component. Props size: The size of the loader (default: 20) Jsx PulseSphere A pulsing sphere loading animation component. Props size: The size of the sphere (default: 20) color: The color of the sphere (default: #000) fillColor: The fill color of the sphere (default: #fff) Jsx WaveFlow A wave flow loading animation component. Props color: The color of the wave (default: #000) Jsx Example Here's an example of using all three components: Jsx import React from 'react'; import { SimpleLoader, PulseSphere, WaveFlow } from 'spinny-loader';

function App() { return (

); } License MIT