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

const Stack = createStackNavigator();

const SelectOrTakePhotoStackNavigation = () =>{
    return (
        <Stack.Navigator
            mode='card'

        >
            <Stack.Screen
                name='SelectOrTakePhotoTabNavigation'
                component={SelectOrTakePhotoTabNavigation}
            />
            <Stack.Screen
                name='UploadPhoto'
                component={UploadPhoto}
            />
        </Stack.Navigator>
    )
};

export default SelectOrTakePhotoStackNavigation;