Closed itsroshan137 closed 3 years ago
onIconTap from left to right user is supposed to see the changes in the interactivity within the ratings itself. How can I achieve that with this library?
Being more specific I want to achieve the interactivity that you had with the heart icon || family icon (from your demo gif) but with the custom image.
That is something you need to manage rather than the library.
Maintain a state for rating value inside your component and pass that state to <Rating rated={your_state_rating_value} ...props />
App.js
inside Demo folder has same logic.
Thank you so much :)
onIconTap
is present as prop. Refer todemo
folder for example.