react-animation-loaders

1.0.10 • Public • Published

React-animation-loaders

  • A small tiny library for react loaders

Installing

npm i --save react-animation-loaders styled-components

Usage

  • Importing the Component
import React, { Component } from "react";
import ReactDOM from "react-dom";
import { First, Second, Third, Fourth } from "react-animation-loaders";
 
const App = () => <First />;

Props

  • Every component have it's own props as it shown below:
Prop Description
dot1Color Specify the color for the first dot.
dot2Color Specify the color for the Second dot.
dot3Color Specify the color for the Third dot.
dot4Color Specify the color for the Fourth dot(Specified for the Fourth Component).
dotWidth Specify the width for Dot component.
dotHeight Specify the Height for Dot component.
wrapperWidth Specify the width for Wrapper component.
wrapperHeight Specify the height for Wrapper component.

Examples

const App = () => (
  <First />
)

alt text

const App = () => (
  <Second />
)

alt text

const App = () => (
  <Third />
)

alt text

const App = () => (
  <Fourth />
)

alt text

Package Sidebar

Install

npm i react-animation-loaders

Weekly Downloads

5

Version

1.0.10

License

MIT

Unpacked Size

44.3 kB

Total Files

18

Last publish

Collaborators

  • awnigharbia