Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-snow

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-snow

Fullscreen snow overlay component for react native

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
decreased by-9.52%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-snow

Fullscreen snow overlay component for React Native. This can be used in any view (but should only be used in one place) and this will place a fullscreen overlay of snow on your app, making it easy to apply and remove.

If you are enthusiastic about winter weather or the winter holiday season, you can make your app festive very easily with this component!

Usage

To use, install the npm module:

npm install --save react-native-snow

Then import the Snow component:

import Snow from 'react-native-snow';

Then add it anywhere in your JSX (you should only do this in one place!):

export default class App extends Component<{}> {
  render() {
    return (
      <View>
        ...
        <Snow />
        ...
      </View>
    );
  }
}

Props

Snow.propTypes = {
  // Specify color of snowflakes.
  snowflakesStyle: { color: 'blue' },
  // Specify amount of snowflakes present ('light', 'medium')
  snowfall: 'medium',
};

Thanks

This is heavily inspired by CSS Snowflakes (it is basically a React Native port with some tweaks).

Many thanks to Pavel Ševčík (@pajasevi) for the inspiration!

Keywords

FAQs

Package last updated on 09 Oct 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc