Skip to content

oreste-abizera/react-clip-loader

Repository files navigation

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

About

npm package which provides React js clip loader component

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published