0.0.1 • Published 5 years ago

react-navigation-stack-web v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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.