react-native-root-modal
react-native-root-modal copied to clipboard
How do I use animation and custom style
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?
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}]}/>