-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.tsx
27 lines (22 loc) · 907 Bytes
/
types.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { NativeStackScreenProps } from "@react-navigation/native-stack";
declare global {
namespace ReactNavigation {
interface RootParamList extends RootStackParamList { }
}
}
export type RootStackParamList = {
Welcome: undefined;
Login: undefined;
Restaurant: { id: any ,firstname:any,lastname:any};
DinningTable: { id: any, name: any,firstname:any,lastname:any };
Menus: { id: any, table: any,firstname:any,lastname:any };
Details: { id: any, name: any, description: any, image: any, price: any, table: any,rvc:any };
Cart: { table: any ,rvcid:any};
Tab: {screen:any , params:any};
Order:{tableId:any}
Payment:{amount:any,rvcId:any,table:any}
Setting:{rvcId:any,tableId:any,firstname:any,lastname:any}
MainTab:{screen:any,params:any}
};
export type RootStackScreenProps<Screen extends keyof RootStackParamList> =
NativeStackScreenProps<RootStackParamList, Screen>;