Files
imexmobile/app/jobs/_layout.tsx
2025-10-23 13:44:33 -07:00

33 lines
669 B
TypeScript

import { Stack } from "expo-router";
import { useTranslation } from "react-i18next";
function JobsStack() {
const { t } = useTranslation();
return (
<Stack
screenOptions={{
headerTitleStyle: {
fontWeight: "bold",
},
}}
>
<Stack.Screen
name="index"
options={{
headerShown: false,
title: t("joblist.titles.jobtab"),
}}
/>
<Stack.Screen
name="[jobId]"
options={({ route }) => ({
//headerShown: false,
title: (route.params as any)?.title || "Job Details",
})}
/>
</Stack>
);
}
export default JobsStack;