npm

Need private packages and team management tools?Check out npm Orgs. »

react-scrollnotify

2.0.1 • Public • Published

React Scroll Notify

A lightweight react wrapper that detects when your component enters the viewport, fires a function passed as prop and add animations to it!

Now you can animate components by passing your animation class or animate.css classes as prop

Installation

  • yarn add react-scrollnotify

    or

  • npm install react-scrollnotify --save

    or

  • Include dist-modules/index.js

Usage

import { Notify } from 'react-scrollnotify';
.
.
.
<Notify onvisible={yourFunction()} animation='youranimationclass'>
  ...
</Notify>

Props

### onvisible ### animation

Feel free to report the issues in github.

Leave me a star if you think it’s cool!

View Demo

install

npm i react-scrollnotify

Downloadsweekly downloads

10

version

2.0.1

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability