Add NavigationPlayground Expo Demo (#1523)

* use react-navigation as dependency
* add expo based playground app
* name expo playground demo in the docs
* add ci task to deploy playground demo
This commit is contained in:
Daniel Schmidt
2017-05-16 01:55:10 +02:00
committed by Adam Miskiewicz
parent ed0a818aee
commit b19beda0a7
15 changed files with 75 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# DrawerNavigator
Used to easily set up a screen with a drawer navigation.
Used to easily set up a screen with a drawer navigation. For a live example please see [our expo demo](https://exp.host/@react-navigation/NavigationPlayground).
```js
class MyHomeScreen extends React.Component {

View File

@@ -164,3 +164,5 @@ The navigator component created by `StackNavigator(...)` takes the following pro
### Examples
See the examples [SimpleStack.js](https://github.com/react-community/react-navigation/tree/master/examples/NavigationPlayground/js/SimpleStack.js) and [ModalStack.js](https://github.com/react-community/react-navigation/tree/master/examples/NavigationPlayground/js/ModalStack.js) which you can run locally as part of the [NavigationPlayground](https://github.com/react-community/react-navigation/tree/master/examples/NavigationPlayground) app.
You can view these examples directly on your phone by visiting [our expo demo](https://exp.host/@react-navigation/NavigationPlayground).

View File

@@ -1,6 +1,6 @@
# TabNavigator
Used to easily set up a screen with several tabs with a TabRouter.
Used to easily set up a screen with several tabs with a TabRouter. For a live example please see [our expo demo](https://exp.host/@react-navigation/NavigationPlayground).
```js
class MyHomeScreen extends React.Component {