diff options
Diffstat (limited to 'src/routes/Routes.tsx')
-rw-r--r-- | src/routes/Routes.tsx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx index d96c1d80..94040c1f 100644 --- a/src/routes/Routes.tsx +++ b/src/routes/Routes.tsx @@ -1,11 +1,12 @@ import React from 'react'; import {createStackNavigator} from '@react-navigation/stack'; -import {Login, Registration} from '../screens'; +import {Login, Registration, Verification} from '../screens'; -export type RootStackParams = { +export type RootStackParamList = { Login: undefined; Registration: undefined; + Verification: undefined; }; const RootStack = createStackNavigator<RootStackParamList>(); @@ -20,7 +21,12 @@ const Routes: React.FC<RoutesProps> = ({}) => { component={Login} options={{headerShown: false}} /> - <RootStack.Screen name="Registration" component={Registration} /> + <RootStack.Screen + name="Registration" + component={Registration} + options={{headerShown: false}} + /> + <RootStack.Screen name="Verification" component={Verification} /> </RootStack.Navigator> ); }; |