mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-23 20:10:49 +08:00
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:
committed by
Adam Miskiewicz
parent
ed0a818aee
commit
b19beda0a7
@@ -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 {
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user