Skip to main content

Overlays and modals

Content

Overlays and modals are being added the same way as pages.

Pre-made components

There are a couple of pre-made modals and overlays, they are located in src/navigation/helpers.

  • showToast - shows custom-made toast with supplied parameters.
  • showStorybook - shows StoryBook while in debug (you can access it from dev menu by shaking your device).
  • showModal - shows modal on iOS and overlay on Android with supplied options.
  • showOnboarding - iOS only way to show onboarding when user first time launches application to show him what's available in app as overlay.