react-clip-loader
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

react-clip-loader

React js clip loader component

NPM JavaScript Style Guide

Install

npm install --save react-clip-loader

Usage

import React, { Component } from 'react'

import { Loader } from 'react-clip-loader'
import 'react-clip-loader/dist/index.css'

class Example extends Component {
  render() {
    return <Loader small={false} />
  }
}

Options

Attributes Description type Defaults
small Size of the loader boolean false
color Color of the active part of loader string '#2d4059'
secondaryColor Color of the remaining part of the loader string '#e5e5e5'

Demo

You can find demo here

License

MIT © oreste-abizera

Readme

Keywords

none

Package Sidebar

Install

npm i react-clip-loader

Weekly Downloads

15

Version

1.0.3

License

MIT

Unpacked Size

9.13 kB

Total Files

11

Last publish

Collaborators

  • oreste-abizera