1.0.1 • Published 1 year ago

react-native-snow-reanimated v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-snow-reanimated

Rework of react-native-snow package using reanimated and typescript

Usage

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>
  )
}

Props

// Specify color of snowflakes.
snowflakesStyle: { color: 'blue' }
// Specify amount of snowflakes present ('light', 'medium')
snowfall: 'medium'

Thanks

Thanks to original author and package react-native-snow