Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/404-html/react-native-snowflakes

❄ Simple XMAS snowflakes decoration for React Native apps ❄
https://github.com/404-html/react-native-snowflakes

animation christmas effects react-native xmas

Last synced: about 1 month ago
JSON representation

❄ Simple XMAS snowflakes decoration for React Native apps ❄

Awesome Lists containing this project

README

        

# React Native Snowflakes ❄
XMAS snowflakes decoration for React Native apps 🌨🎅🎄 Simple with no dependencies!

![done](https://user-images.githubusercontent.com/45104241/70398716-8c18d480-1a1e-11ea-8051-99a8d22a0a1a.gif)

## Instalation

```
yarn add react-native-snowflakes
```

## Usage

```js
import Snowflakes from 'react-native-snowflakes';

class ExampleView extends Component {

render() {
return (

);
}

}

```

## Params
| Params | Type | Description | Default |
| --------------------- |:-------------:| ------------ | ------------ |
| `snowOnlyAroundXmass` | `Boolean` | Renders snowflakes ❄ only for two weeks around XMAS. Set it to `true` and forgot about this package. |`false` |
| `numberOfSnowflakes` | `Integer` |Number of snowflakes to be rendered.| `10` |
| `sizeOfSnowflakes` | `Integer` |Size (in `px`) of snowflakes. | Supreme dimension divided by 35. |

## Buy me a coffee 👇
https://www.buymeacoffee.com/404html