Neptune: Planet or Myth?

    @exodus/react-navigation-core
    TypeScript icon, indicating that this package has built-in type declarations

    6.2.1-exodus.0 • Public • Published

    @react-navigation/core

    Core utilities for building navigators independent of the platform.

    Installation

    Open a Terminal in your project's folder and run,

    yarn add @react-navigation/core

    Usage

    A basic custom navigator bundling a router and a view looks like this:

    import { createNavigatorFactory, useNavigationBuilder } from '@react-navigation/core';
    import { StackRouter } from '@react-navigation/routers';
    
    function StackNavigator({ initialRouteName, children, ...rest }) {
      const { state, navigation, descriptors } = useNavigationBuilder(StackRouter, {
        initialRouteName,
        children,
      });
    
      return (
        <StackView
          state={state}
          navigation={navigation}
          descriptors={descriptors}
          {...rest}
        />
      );
    }
    
    export default createNavigatorFactory(StackNavigator);

    Install

    npm i @exodus/react-navigation-core

    DownloadsWeekly Downloads

    1,479

    Version

    6.2.1-exodus.0

    License

    MIT

    Unpacked Size

    539 kB

    Total Files

    223

    Last publish

    Collaborators

    • jamiemaw
    • exodus-justin.za
    • brahim.ma
    • cmosetick
    • javiexodus
    • skanislav
    • wcastr
    • brandon-exodus
    • daniel.je
    • rg911
    • alex.alexandrius
    • filipexodus
    • jeremyex0j
    • ryansquared-npm
    • andrescarreon
    • florianmathieu
    • dwolfgram
    • eox42
    • iamsaikranthi
    • janwe
    • fosterdill
    • eduardoexodus
    • luvette
    • fboucquez
    • skapala
    • nlavrex
    • umito
    • lanahizzle
    • iaacek
    • nafisholeh
    • ariene-exodus
    • ps.mcnally
    • akinncar
    • matias.la
    • gaganatexodus
    • voltagebots
    • jhony112
    • siva-ramnathan
    • kwwood
    • sergii_bo
    • dimitrios.pa
    • mongkuen
    • philipcr
    • jacobbr22
    • kashifchoudhry
    • lekzd
    • cdotta
    • alexandrbbm
    • danm.exodus
    • danh.t.vo
    • ezenwankwogabriel
    • meniem
    • mzndako
    • ianertson
    • kevva
    • aaronloexodus
    • vikgmdev
    • iamcrazycoder
    • cassapula
    • feri42
    • jprichardson
    • farisissa
    • dooglio
    • ryanzim
    • headfire
    • gutenye
    • mosesbot
    • roccomuso
    • dcastagnoli
    • sonaye
    • nareg_exodus
    • ves
    • tenaciousmv
    • asyakost
    • bulgakovk
    • sekhmet
    • chalker
    • andrejb
    • gordonel
    • jaydp17
    • olistic
    • joepie91
    • merlz
    • jadechip
    • vbonini
    • cooncesean
    • devopsrobot
    • jenish-sojitra
    • unidwell
    • nachoalvarez
    • giovannirco
    • rec
    • dncabal
    • diegomura
    • danilsergeev
    • lanre-mark
    • sunilagrawal
    • guillecura
    • mariosvlad
    • federico-po
    • pagan404