React Native Swipeable Rating

A React Native star rating component with swipe & tap support

React Native Swipeable Rating
#React Native#Javscript


I tried a few different Star Rating libraries for React Native, but none of them quite functioned how I wanted.

This was also a good opportunity for me to learn how to use the panResponder!


Stars can be either tapped or swiped through to select the desired rating.

The rating can also be controlled by a prop, so you can easily set its initial value (e.g if coming from an API).

swiping/tapping can also be disabled if you just need a sleek looking star rating.