1.0.10 • Published 6 years ago

react-animation-loaders v1.0.10

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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:
PropDescription
dot1ColorSpecify the color for the first dot.
dot2ColorSpecify the color for the Second dot.
dot3ColorSpecify the color for the Third dot.
dot4ColorSpecify the color for the Fourth dot(Specified for the Fourth Component).
dotWidthSpecify the width for Dot component.
dotHeightSpecify the Height for Dot component.
wrapperWidthSpecify the width for Wrapper component.
wrapperHeightSpecify 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

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago