react-navigation-stack-web
v0.0.1
Published
Stack navigator component for React Navigation
Downloads
73
Maintainers
Readme
React Navigation Stack
Stack navigator for use on the web.
Installation
Open a Terminal in your project's folder and run,
yarn add react-navigation-stack-webThis 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
yarnin the root directory and in theexampledirectory - Run
yarn devin the root directory - Run
yarn storybookin theexampledirectory
Docs
Documentation can be found on the React Navigation website.
