📅  最后修改于: 2022-03-11 15:02:53.798000             🧑  作者: Mango
Animated.parallel([
Animated.timing(this.state.opacity, {
toValue: 0,
duration: 300
}),
Animated.timing(this.state.height, {
toValue: 0,
duration: 300
})
]).start(() => {
// callback
});