showing results for - "react native anination 2 valuse"
Jihane
02 Jan 2020
1Animated.parallel([
2    Animated.timing(this.state.opacity, {
3        toValue: 0,
4        duration: 300
5    }),
6    Animated.timing(this.state.height, {
7        toValue: 0,
8        duration: 300
9    })
10]).start(() => {
11    // callback
12});