react-navigation-stack-web

0.0.1 • Public • Published

React Navigation Stack

CircleCI badge

Stack navigator for use on the web.

Installation

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

yarn add react-navigation-stack-web

This package assumes you alias react-native to react-native-web in you bundler.

Usage

import { createStackNavigator } from 'react-navigation-stack-web';
 
export default createStackNavigator({
  Inbox: InboxScreen
  Drafts: DraftsScreen,
}, {
  initialRouteName: 'Inbox',
});

Development workflow

  • Clone this repository
  • Run yarn in the root directory and in the example directory
  • Run yarn dev in the root directory
  • Run yarn storybook in the example directory

Docs

Documentation can be found on the React Navigation website.

Package Sidebar

Install

npm i react-navigation-stack-web

Weekly Downloads

5

Version

0.0.1

License

MIT

Unpacked Size

382 kB

Total Files

84

Last publish

Collaborators

  • ricsam