diff --git a/index.js b/index.js index e75b643..2f46fb4 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ class Modal extends Component { state = { opacity: new Animated.Value(0), scale: new Animated.Value(0.8), - offset: new Animated.Value(0) + offset: new Animated.Value(this.props.offset) }; componentWillMount() {