react-navigation-stack-web
v0.0.1
Published
Stack navigator component for React Navigation
Downloads
36
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-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 theexample
directory - Run
yarn dev
in the root directory - Run
yarn storybook
in theexample
directory
Docs
Documentation can be found on the React Navigation website.