Fakultas Ilmu Komputer UI

EcosystemStack.ts 686 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * Learn more about using TypeScript with React Navigation:
 * https://reactnavigation.org/docs/typescript/
 */
import { NativeStackScreenProps } from "@react-navigation/native-stack";

export type EcosystemStackParamList = {
  BusinessEcosystem: undefined;
  CreateEcosystem: undefined;
  BusinessCategory: undefined;
  EcosystemList: { headerTitle: string };
  EcosystemMap: undefined;
  BusinessList: { headerTitle: string };
  EcosystemDetails: { headerTitle: string };
15
  Recommended: { headerTitle: string; toFetch: string };
16
17
18
19
20
};

export type EcosystemStackScreenProps<
  Screen extends keyof EcosystemStackParamList
> = NativeStackScreenProps<EcosystemStackParamList, Screen>;