diff options
Diffstat (limited to 'src/routes/profile/MomentStackScreen.tsx')
-rw-r--r-- | src/routes/profile/MomentStackScreen.tsx | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/routes/profile/MomentStackScreen.tsx b/src/routes/profile/MomentStackScreen.tsx deleted file mode 100644 index 8768199a..00000000 --- a/src/routes/profile/MomentStackScreen.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import React from 'react'; -import {IndividualMoment} from '../../screens'; -import {MomentStack} from './MomentStack'; -import Profile from './Profile'; - -const MomentStackScreen: React.FC = () => { - return ( - <MomentStack.Navigator - screenOptions={{ - headerShown: false, - cardStyle: {backgroundColor: 'transparent'}, - cardOverlayEnabled: true, - cardStyleInterpolator: ({current: {progress}}) => ({ - cardStyle: { - opacity: progress.interpolate({ - inputRange: [0, 0.5, 0.9, 1], - outputRange: [0, 0.25, 0.7, 1], - }), - }, - overlayStyle: { - backgroundColor: '#808080', - opacity: progress.interpolate({ - inputRange: [0, 1], - outputRange: [0, 0.9], - extrapolate: 'clamp', - }), - }, - }), - }} - initialRouteName="Profile" - mode="modal"> - <MomentStack.Screen - name="Profile" - component={Profile} - options={{headerShown: false}} - /> - <MomentStack.Screen - name="IndividualMoment" - component={IndividualMoment} - options={{headerShown: false}} - /> - </MomentStack.Navigator> - ); -}; - -export default MomentStackScreen; |