react-native-easy-rating
A React Native component for rating view. Compatible with both iOS and Android.
Tested with react-native 0.64.1
Installation
yarn add react-native-easy-rating
Usage
Props
Example
import Rating from 'react-native-easy-rating';
...
export default function App() {
const [rating,setRating] = useState();
return (
<Rating
rating={rating}
max={5}
iconWidth={24}
iconHeight={24}
onRate={setRating}/>
);
}