Browse Source

Adding back btn in header for register screen

master
GabrielTrettel 3 years ago
parent
commit
c92f6d82d9
  1. 3
      src/app/navigation/AuthNavigator.js

3
src/app/navigation/AuthNavigator.js

@ -2,6 +2,7 @@ import React from "react";
import { createStackNavigator } from "@react-navigation/stack";
import LoginScreen from "../screens/LoginScreen";
import RegisterScreen from "../screens/RegisterScreen";
import colors from "../config/colors";
const Stack = createStackNavigator();
@ -15,7 +16,7 @@ const AuthNavigator = () => (
<Stack.Screen
name="Register"
component={RegisterScreen}
options={{ headerShown: false }}
options={{ headerTitle: "" }} //headerStyle: {backgroundColor: colors.primary} }}
/>
</Stack.Navigator>
);

Loading…
Cancel
Save