@cheddarharp/react-spinning

A library to facilitate the gleeful pleasure found by making things spin around

Usage no npm install needed!

<script type="module">
  import cheddarharpReactSpinning from 'https://cdn.skypack.dev/@cheddarharp/react-spinning';
</script>

README

@daaveuk/react-spinning

A library to facilitate the gleeful pleasure found by making things spin around

NPM JavaScript Style Guide

Install

npm install --save @daaveuk/react-spinning

Usage

import React, { Component } from 'react'

import { Spinning } from '@daaveuk/react-spinning'
import '@daaveuk/react-spinning/dist/index.css'

class Example extends Component {
  render() {
    return (
      <Spinning>
        <MyComponent />
      </Spinning>
    )
  }
}

License

MIT © daaveuk