Commit 7962bb9b authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

create auction screen added to nav stack

parent 3be45b14
...@@ -15,6 +15,7 @@ import UserAuctionListScreen from "../screen/User.Auctions.Screen"; ...@@ -15,6 +15,7 @@ import UserAuctionListScreen from "../screen/User.Auctions.Screen";
import UserBidScreen from "../screen/User.Bids.Screen"; import UserBidScreen from "../screen/User.Bids.Screen";
import AuctionListScreen from "../screen/Auctions.List.Screen"; import AuctionListScreen from "../screen/Auctions.List.Screen";
import AuctionDetailScreen from "../screen/Auction.Detail.Screen"; import AuctionDetailScreen from "../screen/Auction.Detail.Screen";
import UserAuctionCreateScreen from "../screen/User.Auction.Create.Screen";
const Stack = createStackNavigator(); const Stack = createStackNavigator();
...@@ -235,6 +236,15 @@ export function AuthStack({ navigation }) { ...@@ -235,6 +236,15 @@ export function AuthStack({ navigation }) {
headerTitleAlign: "center" headerTitleAlign: "center"
}} }}
/> />
<Stack.Screen
name="AuctionCreateScreen"
component={UserAuctionCreateScreen}
options={{
headerShown: false,
title: "Auctions List",
headerTitleAlign: "center"
}}
/>
<Stack.Screen <Stack.Screen
name="AboutUs" name="AboutUs"
component={AboutUs} component={AboutUs}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment