react-native-root-modal icon indicating copy to clipboard operation
react-native-root-modal copied to clipboard

How do I use animation and custom style

Open percyteng opened this issue 9 years ago • 1 comments

It doesn't seem like there is any props for me to choose between different styles. The only thing I can use right now is the simple one. Can you please tell me what I need to do to use other styles?

percyteng avatar Dec 30 '16 19:12 percyteng

This is little bit late, but for every one else who will look for this answer you have to do this: Animation: import {Animated as AnimatedModal} from "react-native-root-modal"; and straight forward -> <AnimatedModal visible={this.props.visible} style={[styles.content, {opacity: this.animation}]}/>

DanielZara avatar Jun 21 '19 13:06 DanielZara