Skip to content

moulie415/react-native-snow-reanimated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published