-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support animating Fontawesome color #53
Comments
This project uses |
@robmadole animating inner components of react-native-svg is possible, but need to use Animated-version of svg components. For example, instead of Possible solution would be to pass svgObjectMap as prop to FontAwesomeIcon component. |
Anything about this? |
Since this has been years without update. A hacky way to do this is by updating the color state on the JS thread. It should be used sparingly since this is not performant, but is "good enough" for simple action animations. Just posting here in case it helps someone else. Or tag me if someone has a better idea!
|
Currently I didn't find any way to animate the colors of Fontawesome icon. Trying to call
Animated.createAnimatedComponent(Fontawesome) generates an error.
The text was updated successfully, but these errors were encountered: