react-native 怎么实现遮罩层

react-native 怎么实现遮罩层


红颜莎娜
浏览 2393回答 1
1回答

有只小跳蛙

创建一个Animated.Value[javascript] view plain copy<Animated.View style={ styles.mask } ></Animated.View><Animated.View style={[styles.tip , {transform: [{translateY: this.state.offset.interpolate({inputRange: [0, 1],outputRange: [height, (height-aHeight -34)]}),}]}]}>lt;/Animated.View>
打开App,查看更多内容
随时随地看视频慕课网APP