1.0.3 • Published 3 years ago
react-native-snowflakes v1.0.3
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. |