react-native-navigation的迁移库

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. module.exports = {
  2. // Buttons
  3. TAB_BASED_APP_BUTTON: `TAB_BASED_APP_BUTTON`,
  4. TAB_BASED_APP_SIDE_BUTTON: `TAB_BASED_APP_SIDE_BUTTON`,
  5. PUSH_LIFECYCLE_BUTTON: `PUSH_LIFECYCLE_BUTTON`,
  6. PUSH_STATIC_LIFECYCLE_BUTTON: `PUSH_STATIC_LIFECYCLE_BUTTON`,
  7. PUSH_BUTTON: `PUSH_BUTTON`,
  8. PUSH_OPTIONS_BUTTON: `PUSH_OPTIONS_BUTTON`,
  9. PUSH_DEFAULT_OPTIONS_BUTTON: `PUSH_DEFAULT_OPTIONS_BUTTON`,
  10. BACK_HANDLER_BUTTON: `BACK_HANDLER_BUTTON`,
  11. SHOW_MODAL_BUTTON: `SHOW_MODAL_BUTTON`,
  12. SHOW_REDBOX_BUTTON: `SHOW_REDBOX_BUTTON`,
  13. ORIENTATION_BUTTON: `ORIENTATION_BUTTON`,
  14. PROVIDED_ID: `PROVIDED_ID`,
  15. DISMISS_MODAL_BUTTON: `DISMISS_MODAL_BUTTON`,
  16. DISMISS_UNKNOWN_MODAL_BUTTON: `DISMISS_UNKNOWN_MODAL_BUTTON`,
  17. DISMISS_ALL_MODALS_BUTTON: `DISMISS_ALL_MODALS_BUTTON`,
  18. DISMISS_PREVIOUS_MODAL_BUTTON: `DISMISS_PREVIOUS_MODAL_BUTTON`,
  19. DISMISS_ALL_PREVIOUS_MODAL_BUTTON: `DISMISS_ALL_PREVIOUS_MODAL_BUTTON`,
  20. DISMISS_FIRST_MODAL_BUTTON: `DISMISS_FIRST_MODAL_BUTTON`,
  21. DEFAULT_ORIENTATION_BUTTON: `DEFAULT_ORIENTATION_BUTTON`,
  22. LANDSCAPE_PORTRAIT_ORIENTATION_BUTTON: `LANDSCAPE_PORTRAIT_ORIENTATION_BUTTON`,
  23. PORTRAIT_ORIENTATION_BUTTON: `PORTRAIT_ORIENTATION_BUTTON`,
  24. LANDSCAPE_ORIENTATION_BUTTON: `LANDSCAPE_ORIENTATION_BUTTON`,
  25. DISMISS_BUTTON: `DISMISS_BUTTON`,
  26. POP_BUTTON: `POP_BUTTON`,
  27. POP_PREVIOUS_BUTTON: `POP_PREVIOUS_BUTTON`,
  28. POP_TO_ROOT: `POP_TO_ROOT`,
  29. POP_STACK_POSITION_ONE_BUTTON: `POP_STACK_POSITION_ONE_BUTTON`,
  30. SWITCH_SECOND_TAB_BUTTON: `SWITCH_SECOND_TAB_BUTTON`,
  31. SWITCH_FIRST_TAB_BUTTON: `SWITCH_FIRST_TAB_BUTTON`,
  32. DYNAMIC_OPTIONS_BUTTON: `DYNAMIC_OPTIONS_BUTTON`,
  33. SHOW_TOP_BAR_BUTTON: `SHOW_TOP_BAR_BUTTON`,
  34. HIDE_TOP_BAR_BUTTON: `HIDE_TOP_BAR_BUTTON`,
  35. SCROLLVIEW_SCREEN_BUTTON: `SCROLLVIEW_SCREEN_BUTTON`,
  36. HIDE_FAB: `HIDE_FAB`,
  37. SHOW_SNACKBAR_BUTTON: `SHOW_SNACKBAR_BUTTON`,
  38. TOGGLE_TOP_BAR_HIDE_ON_SCROLL: `TOGGLE_TOP_BAR_HIDE_ON_SCROLL`,
  39. SET_TAB_BADGE_BUTTON: `SET_TAB_BADGE_BUTTON`,
  40. PUSH_TO_TEST_DID_DISAPPEAR_BUTTON: `PUSH_TO_TEST_DID_DISAPPEAR_BUTTON`,
  41. SHOW_LEFT_SIDE_MENU_BUTTON: `SHOW_LEFT_SIDE_MENU_BUTTON`,
  42. SHOW_RIGHT_SIDE_MENU_BUTTON: `SHOW_RIGHT_SIDE_MENU_BUTTON`,
  43. HIDE_LEFT_SIDE_MENU_BUTTON: `HIDE_LEFT_SIDE_MENU_BUTTON`,
  44. HIDE_RIGHT_SIDE_MENU_BUTTON: `HIDE_RIGHT_SIDE_MENU_BUTTON`,
  45. HIDE_BOTTOM_TABS_BUTTON: `HIDE_BOTTOM_TABS_BUTTON`,
  46. SHOW_BOTTOM_TABS_BUTTON: `SHOW_BOTTOM_TABS_BUTTON`,
  47. FIRST_TAB_BAR_BUTTON: `FIRST_TAB_BAR_BUTTON`,
  48. SECOND_TAB_BAR_BUTTON: `SECOND_TAB_BAR_BUTTON`,
  49. SHOW_OVERLAY_BUTTON: `SHOW_OVERLAY_BUTTON`,
  50. SHOW_TOUCH_THROUGH_OVERLAY_BUTTON: `SHOW_TOUCH_THROUGH_OVERLAY_BUTTON`,
  51. OK_BUTTON: `OK_BUTTON`,
  52. MODAL_WITH_STACK_BUTTON: `MODAL_WITH_STACK_BUTTON`,
  53. CUSTOM_TRANSITION_BUTTON: `CUSTOM_TRANSITION_BUTTON`,
  54. PUSH_NATIVE_COMPONENT_BUTTON: `PUSH_NATIVE_COMPONENT_BUTTON`,
  55. // Elements
  56. SCROLLVIEW_ELEMENT: `SCROLLVIEW_ELEMENT`,
  57. BOTTOM_TABS_ELEMENT: `BOTTOM_TABS_ELEMENT`,
  58. TOP_BAR_ELEMENT: `TOP_BAR_ELEMENT`,
  59. LANDSCAPE_ELEMENT: `LANDSCAPE_ELEMENT`,
  60. PORTRAIT_ELEMENT: `PORTRAIT_ELEMENT`,
  61. // Headers
  62. WELCOME_SCREEN_HEADER: `WELCOME_SCREEN_HEADER`,
  63. PUSHED_SCREEN_HEADER: `PUSHED_SCREEN_HEADER`,
  64. OPTIONS_SCREEN_HEADER: `OPTIONS_SCREEN_HEADER`,
  65. MODAL_SCREEN: `MODAL_SCREEN`,
  66. CENTERED_TEXT_HEADER: `CENTERED_TEXT_HEADER`,
  67. DIALOG_HEADER: `DIALOG_HEADER`
  68. };