Closed
Description
This is my code.
<Animated.View style={[styles.loginButton, {
transform: [{
backgroundColor: this.state.anim.interpolate({
inputRange: [0, 1],
outputRange: ['rgba(80,253,227,0.2)', 'rgba(80,253,227,1)']
})
}]
}]}></Animated.View>
The error
Invariant Violation: Invariant Violation:
Invalid transform backgroundColor:
{"backgroundColor":"rgba(80,253,227,0.2)"}