types.tsx 543 B

12345678910111213141516171819202122232425262728293031
  1. export type RootStackParamList = {
  2. Main: undefined;
  3. AlertModal: {
  4. msg: string;
  5. title: string;
  6. hasCancel: Boolean;
  7. submitEvent: Event;
  8. };
  9. };
  10. export type MainStackParamList = {
  11. Login: undefined;
  12. Register: undefined;
  13. Root: undefined;
  14. };
  15. export type BottomTabParamList = {
  16. TabOne: undefined;
  17. TabTwo: undefined;
  18. };
  19. export type LoginTabParamList = {
  20. Psd: undefined;
  21. Code: undefined;
  22. };
  23. export type TabOneParamList = {
  24. TabOneScreen: undefined;
  25. };
  26. export type TabTwoParamList = {
  27. TabTwoScreen: undefined;
  28. };