Go to file
Brent Vatne 36ccf5ba6b
Merge pull request #6 from react-navigation/useRNScreens
Use react-native-screens when native screen components are available
2018-09-11 15:14:11 +01:00
.circleci Initial commit 2018-08-03 14:59:12 -07:00
example Initial commit 2018-08-03 14:59:12 -07:00
src Use new version of rn-screens that provids compatibility layer to Views when native modules aren't available 2018-09-11 11:35:05 +02:00
.babelrc Initial commit 2018-08-03 14:59:12 -07:00
.editorconfig Initial commit 2018-08-03 14:59:12 -07:00
.eslintignore Initial commit 2018-08-03 14:59:12 -07:00
.eslintrc Fix lint errors and tests 2018-08-22 16:23:40 -07:00
.gitignore Initial commit 2018-08-03 14:59:12 -07:00
LICENSE.md Initial commit 2018-08-03 14:59:12 -07:00
README.md Initial commit 2018-08-03 14:59:12 -07:00
jest-setup.js Initial commit 2018-08-03 14:59:12 -07:00
package.json Update screens versions 2018-09-11 14:44:59 +02:00
yarn.lock Update screens versions 2018-09-11 14:44:59 +02:00

README.md

React Navigation Stack

CircleCI badge

Stack navigator for use on iOS and Android.

Installation

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

yarn add react-navigation-stack

Usage

import { createStackNavigator } from 'react-navigation-stack';

export default createStackNavigator({
  Inbox: InboxScreen
  Drafts: DraftsScreen,
}, {
  initialRouteName: 'Inbox',
});

Docs

Documentation can be found on the React Navigation website.