SelectOrTakePhotoStackNavigation.js 821 Bytes
import React, {userLayoutEffect} from 'react';
import {createStackNavigator} from "@react-navigation/stack";
import SelectOrTakePhotoTabNavigation from "./SelectOrTakePhotoTabNavigation";
import UploadPhoto from "../screens/UploadPhoto";

const Stack = createStackNavigator();

const SelectOrTakePhotoStackNavigation = () => {
    return (
        <Stack.Navigator
            mode='card'
            screenOptions={{
                headerShown: false
            }}
        >
            <Stack.Screen
            name='SelectOrTakePhotoTabNavigation'
            component={SelectOrTakePhotoTabNavigation}
        />
            <Stack.Screen
                name='UploadPhoto'
                component={UploadPhoto}
            />
        </Stack.Navigator>
    )
};

export default SelectOrTakePhotoStackNavigation;