Now with Partition Management

    @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,758

    Version

    6.2.1-exodus.0

    License

    MIT

    Unpacked Size

    539 kB

    Total Files

    223

    Last publish

    Collaborators

    • richayotte
    • ralph.ba
    • angelloz
    • joshuabot
    • jamiemaw
    • exodus-justin.za
    • javiexodus
    • wcastr
    • brandon-exodus
    • rg911
    • alex.alexandrius
    • filipexodus
    • ryansquared-npm
    • andrescarreon
    • florianmathieu
    • dwolfgram
    • eox42
    • iamsaikranthi
    • janwe
    • fosterdill
    • eduardoexodus
    • fboucquez
    • skapala
    • umito
    • lanahizzle
    • iaacek
    • nafisholeh
    • ariene-exodus
    • ps.mcnally
    • akinncar
    • matias.la
    • voltagebots
    • kwwood
    • sergii_bo
    • mongkuen
    • philipcr
    • jacobbr22
    • lekzd
    • cdotta
    • alexandrbbm
    • danh.t.vo
    • ezenwankwogabriel
    • meniem
    • mzndako
    • kevva
    • aaronloexodus
    • feri42
    • jprichardson
    • farisissa
    • ryanzim
    • headfire
    • gutenye
    • mosesbot
    • roccomuso
    • dcastagnoli
    • sonaye
    • nareg_exodus
    • ves
    • tenaciousmv
    • asyakost
    • bulgakovk
    • chalker
    • andrejb
    • jaydp17
    • olistic
    • joepie91
    • merlz
    • jadechip
    • vbonini
    • devopsrobot
    • jenish-sojitra
    • unidwell
    • nachoalvarez
    • giovannirco
    • rec
    • dncabal
    • diegomura
    • lanre-mark
    • sunilagrawal
    • guillecura
    • mariosvlad
    • federico-po
    • pagan404