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: 8 days 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-18T13:48:33.000Z (about 4 years ago)
- Last Synced: 2025-02-09T09:46:56.539Z (11 days ago)
- Topics: animation, christmas, effects, react-native, xmas
- Language: JavaScript
- Homepage:
- Size: 85 KB
- Stars: 4
- 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!
## 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