rainy-background-reactnative

1.1.3 • Public • Published

rainy-background-reactnative

It can be used for ios and android as nice rainy background!

Usage

Install module:

npm install --save rainy-background-reactnative

or

yarn add rainy-background-reactnative

Add it to any View in you app:

import Rain from 'rainy-background-reactnative';

export default function App() {
  return (
    <View>
      ...
      <Rain fullScreen rainCount={100} fallSpeed="medium" />
    </View>
  );
}

Snow props

Props Type Description Default
rainCount Integer How many rain to render. 100
fallSpeed slow , medium, fast How fast rain will fall. medium
fullScreen Boolean If true component will always take screen width and height. If false it will take 100% parent width and height. Usefult if you want rain background to fill jsut a part of your screen. false

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i rainy-background-reactnative

      Weekly Downloads

      1

      Version

      1.1.3

      License

      MIT

      Unpacked Size

      5.89 kB

      Total Files

      5

      Last publish

      Collaborators

      • lanvega