Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 ❄
- Host: GitHub
- URL: https://github.com/404-html/react-native-snowflakes
- Owner: 404-html
- License: mit
- Created: 2019-12-08T22:22:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-18T13:48:33.000Z (almost 4 years ago)
- Last Synced: 2024-10-11T13:35:31.054Z (about 1 month ago)
- Topics: animation, christmas, effects, react-native, xmas
- Language: JavaScript
- Homepage:
- Size: 85 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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