-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Custom Images as Rating #5
Comments
@Relax594 I faced similar issues on existing libraries like this But let me think and analyse more over weekend..and see if this can be something which will add more value to library. |
I modified the react-native-ratings repo (which is used in React-Native-Elements) to make it work like in my picture posted above. The way it works is the same as the way you do it in this repo. I just added a PNG which is transparent fill and has a border. A second layer with the fill-color is growing in height or width depending on rating. Having this feature in this library would allow me to get rid of react-native-ratings, which is kinda abandoned. |
@Relax594 ok! will check and revert.. |
@Relax594
|
@Relax594 I am closing this request as requested feature is added and released in v5.1.0. |
Looks really solid! Appreciate it! |
Instead of defining just an icon, let us define a type with ["icon", "custom"] (defaults to icon) and if we set the type to custom, we can use an custom image (for example a .png file). This way we would be able to setup something like this:
Thanks a lot!
The text was updated successfully, but these errors were encountered: