1.0.1 • Published 5 years ago
praneeth-rain-animation v1.0.1
Installation
To install this Component, run yarn add praneeth-rain-animation
or npm install praneeth-rain-animation
.
Usage
##Simple
To use the component, In your react Application just import the component and styles. Also make sure to specify the numDrops property, as it is required.
import React from 'react';
import ReactRain from 'praneeth-rain-animation';
// import all the styles
import "praneeth-rain-animation/lib/style.css";
const MyComponent = (props) => {
return (
<ReactRain
numDrops="500"
/>
}
export default MyComponent;