Skip to content

Commit

Permalink
add detail screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Drzaln committed Jan 15, 2021
1 parent f03b6a6 commit ea42cb1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@ const MyStack = () => {
},
gestureEnabled: false,
transitionSpec: {
open: { animation: timing, config: { duration: 10 } },
close: { animation: timing, config: { duration: 10 } }
open: { animation: timing, config: { duration: 100 } },
close: { animation: timing, config: { duration: 100 } }
},
cardStyleInterpolator: ({ current: { progress } }) => {
return {
cardStyle: {
opacity: progress,
}
}
}
},
cardStyle:{backgroundColor: '#030610'},
}}
headerMode='screen'>
<Stack.Screen name='Home' component={HomeTab} />
Expand Down

0 comments on commit ea42cb1

Please sign in to comment.