Skip to content

Commit

Permalink
Merge pull request #46 from bbeckk/patch-1
Browse files Browse the repository at this point in the history
set initial offset
  • Loading branch information
httnn authored Jun 4, 2018
2 parents 9f80513 + cc48b00 commit 19116f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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() {
Expand Down

0 comments on commit 19116f7

Please sign in to comment.