1.0.3 • Published 5 years ago

rainbow-loader-react v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

rainbow-loader-react

Animated rainbow loader for ReactJS

NPM JavaScript Style Guide

Install

npm install --save rainbow-loader-react

Usage

import * as React from 'react'

import { RainbowLoader } from "rainbow-loader-react";

class Example extends React.Component {
  render () {
    return (
      <RainbowLoader />
    )
  }
}

Properties

nametype
cssReact.CSSProperties

Default props are :

{
  animationDuration: "2s"
  height: "1px"
}

Example usage with props :

<RainbowLoader css={{ height: "1rem" }} />
<RainbowLoader css={{ width: "50%", animationDuration: "5s" }} />

License

MIT © oygen87

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago