Skip to content

Commit

Permalink
Update Example 🔬
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesMangwa committed Sep 26, 2020
1 parent 7f0b404 commit 992cf90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface ModalStackParamsList {

export type ModalName = Exclude<keyof ModalStackParamsList, 'IntroModal'>

const { width } = Dimensions.get('screen')
const { height, width } = Dimensions.get('screen')

const config: ModalStackConfig = {
IntroModal: {
Expand All @@ -52,7 +52,7 @@ const config: ModalStackConfig = {
{
translateY: animatedValue.interpolate({
inputRange: [0, 1, 2],
outputRange: [width * 3, 0, width * 3],
outputRange: [height, 0, height],
}),
},
],
Expand Down

0 comments on commit 992cf90

Please sign in to comment.