Basic routing implementation.
This commit is contained in:
18
app/jobs/_layout.tsx
Normal file
18
app/jobs/_layout.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Stack } from "expo-router";
|
||||
|
||||
function JobsStack() {
|
||||
return (
|
||||
<Stack
|
||||
screenOptions={{
|
||||
headerTitleStyle: {
|
||||
fontWeight: "bold",
|
||||
},
|
||||
}}
|
||||
>
|
||||
<Stack.Screen name="index" options={{ title: "Active Jobs" }} />
|
||||
<Stack.Screen name="[jobId]" options={{ title: "Job Details" }} />
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
export default JobsStack;
|
||||
Reference in New Issue
Block a user