You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, is this possible to stop doing animation of my children element?
I have rotate animaton on my Buton (TouchableOppacity) component: const Button = Animatable.createAnimatableComponent(TouchableOpacity); <Button animation="rotate" iterationCount="infinite" duration={800} onPress={() => this.changeTab(index)} key={index} style={styles.actualTab}><Animatable.Text style={{color: '#fff'}}>{index + 1}</Animatable.Text></Button>
and all working fine, but i want to stop rotate my Text component which is inside my Button component.
The text was updated successfully, but these errors were encountered:
Hello, is this possible to stop doing animation of my children element?
I have rotate animaton on my Buton (TouchableOppacity) component:
const Button = Animatable.createAnimatableComponent(TouchableOpacity);
<Button animation="rotate" iterationCount="infinite" duration={800} onPress={() => this.changeTab(index)} key={index} style={styles.actualTab}><Animatable.Text style={{color: '#fff'}}>{index + 1}</Animatable.Text></Button>
and all working fine, but i want to stop rotate my Text component which is inside my Button component.
The text was updated successfully, but these errors were encountered: