I am trying to rotate my image when it's pressed using following:
this.myView.transitionTo({ rotate: '180deg' }, 200);
I get error:
Invariant Violation: Transform with key of "rotate" must be a string: {"rotate":null}
Using react-native-animatable
library. Not sure what is the proper syntax to use for transform props.
Thanks.