Socket
Socket
Sign inDemoInstall

respin

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    respin

React SVG loading spinner based on jxnblk.com/loading


Version published
Weekly downloads
26
increased by73.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 07 May 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc