react-native-snowflakes
v1.0.3
Published
XMASS snowflakes decoration for React Native apps
Downloads
112
Maintainers
Readme
React Native Snowflakes ❄
XMAS snowflakes decoration for React Native apps 🌨🎅🎄 Simple with no dependencies!
Instalation
yarn add react-native-snowflakes
Usage
import Snowflakes from 'react-native-snowflakes';
class ExampleView extends Component {
render() {
return (
<Snowflakes />
);
}
}
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