react-native-navigation的迁移库

Navigation.js 742B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import * as ScreenRegistry from './screens/ScreenRegistry';
  2. export function registerScreen(screenKey, getScreenFunc) {
  3. ScreenRegistry.registerScreen(screenKey, getScreenFunc);
  4. }
  5. export function startApp(params) {
  6. //
  7. }
  8. export function push(params) {
  9. //
  10. }
  11. export function pop(params) {
  12. //
  13. }
  14. export function showModal(params) {
  15. //
  16. }
  17. export function dismissModal(params) {
  18. //
  19. }
  20. export function dismissAllModals(params) {
  21. //
  22. }
  23. export function showLightbox(params) {
  24. //
  25. }
  26. export function dismissLightbox(params) {
  27. //
  28. }
  29. export function showInAppNotification(params) {
  30. //
  31. }
  32. export function dismissInAppNotification(params) {
  33. //
  34. }
  35. export function popToRoot(params) {
  36. //
  37. }
  38. export function newStack(params) {
  39. //
  40. }