Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.
/ respin Public archive

React SVG loading spinner based on jxnblk.com/loading

Notifications You must be signed in to change notification settings

jxnblk/respin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Respin

React SVG loading spinner based on jxnblk.com/loading

npm i respin
const React = require('react')
const Spinner = require('respin')

const MyComponent = props => (
  <div>
    <Spinner /> Loading...
  </div>
)

Props

  • size = 16 - (number) - width and height in pixels
  • duration = 1000 - (number) - duration of animation in milliseconds
  • spokes = 8 - (number) - number of spokes in spinner

Respin passes all other props to the root <svg> element.

MIT License

Releases

No releases published

Packages

No packages published