Rework of react-native-snow package using reanimated and typescript
To use, install the npm module:
npm install --save react-native-snow-reanimated
Make sure to have react-native-reanimated installed as well
Then import the Snow component:
import Snow from 'react-native-snow-reanimated';
Then add it anywhere in your JSX (you should only do this in one place!):
const App = () => {
return (
<View>
...
<Snow />
...
</View>
)
}
// Specify color of snowflakes.
snowflakesStyle: { color: 'blue' }
// Specify amount of snowflakes present ('light', 'medium')
snowfall: 'medium'
Thanks to original author and package react-native-snow