Add: - app/(application)/(user)/profile/[id]/blocked-list.tsx app/(application)/(user)/profile/[id]/detail-blocked.tsx components/_ShareComponent/ListEmptyComponent.tsx components/_ShareComponent/ListLoaderFooterComponent.tsx components/_ShareComponent/ListSkeletonComponent.tsx hooks/use-paginated-api.ts service/api-client/api-blocked.ts Fix: modified: app/(application)/(user)/profile/_layout.tsx modified: components/_ShareComponent/NewWrapper.tsx modified: components/index.ts modified: screens/Profile/ListPage.tsx modified: styles/global-styles.ts ### No Issue
50 lines
1.4 KiB
TypeScript
50 lines
1.4 KiB
TypeScript
import { BackButton } from "@/components";
|
|
import { GStyles } from "@/styles/global-styles";
|
|
import { Stack } from "expo-router";
|
|
|
|
export default function ProfileLayout() {
|
|
return (
|
|
<>
|
|
<Stack
|
|
screenOptions={{
|
|
headerStyle: GStyles.headerStyle,
|
|
headerTitleStyle: GStyles.headerTitleStyle,
|
|
headerTitleAlign: "center",
|
|
headerBackButtonDisplayMode: "minimal",
|
|
}}
|
|
>
|
|
{/* <Stack.Screen name="[id]/index" options={{ headerShown: false }} /> */}
|
|
<Stack.Screen
|
|
name="[id]/edit"
|
|
options={{ title: "Edit Profile", headerLeft: () => <BackButton /> }}
|
|
/>
|
|
<Stack.Screen
|
|
name="[id]/update-photo"
|
|
options={{ title: "Update Foto", headerLeft: () => <BackButton /> }}
|
|
/>
|
|
<Stack.Screen
|
|
name="[id]/update-background"
|
|
options={{
|
|
title: "Update Latar Belakang",
|
|
headerLeft: () => <BackButton />,
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="create"
|
|
options={{ title: "Buat Profile", headerBackVisible: false }}
|
|
/>
|
|
|
|
<Stack.Screen
|
|
name="[id]/blocked-list"
|
|
options={{ title: "Blocked List", headerLeft: () => <BackButton /> }}
|
|
/>
|
|
|
|
<Stack.Screen
|
|
name="[id]/detail-blocked"
|
|
options={{ title: "Detail Blokir", headerLeft: () => <BackButton /> }}
|
|
/>
|
|
</Stack>
|
|
</>
|
|
);
|
|
}
|