🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-loading-order-with-animation

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-loading-order-with-animation

React Loading Order With Animation

1.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

React Loading Order With Animation

Animate components in order.

DEMO

Installation

npm install react-loading-order-with-animation

Usage

import LoadingOrderAnimation from 'react-loading-order-with-animation';

<LoadingOrderAnimation animation="fade-in"
                       move="from-bottom-to-top"
                       distance={30}
                       speed={1000}
                       wait={300}>
  <div>
    Children component
  </div>
</LoadingOrderAnimation>

Props

  • animation (String) - effect, values: fade-in, default: fade-in
  • move (String) - direction, values: from-top-to-bottom, from-bottom-to-top, from-left-to-right, from-right-to-left, default: none
  • distance (Number) - direction distance in px, default: 0
  • speed (Number) - animation speed in ms, default: 700
  • wait (Number) - wait before animation, after, default: 100
  • block (String) - css style, values: inline, block, default: block

Development

$ npm install

Run app

$ npm start

And open in browser: http://localhost:4000

Build

$ npm run build

Keywords

react

FAQs

Package last updated on 29 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts