You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This (hopefully) renames all name references of this package from either gb-native-router or
react-native-router to react-native-simple-router.
The npm package authors were modified to acknowledge the original work
by Tristan and Mikael.
var Router =require('react-native-simple-router');
21
21
```
22
22
23
23
The basics:
@@ -141,12 +141,12 @@ Events emitted by the router:
141
141
A more advanced example: Twitter app
142
142
------------------------------------
143
143
144
-
To see more of the router in action, you can check out the Twitter example app that comes with the package. Just make sure that you first drag all the images from ```node_modules/react-native-router/twitter-example/images``` to your project's Images.xcassets
144
+
To see more of the router in action, you can check out the Twitter example app that comes with the package. Just make sure that you first drag all the images from ```node_modules/react-native-simple-router/twitter-example/images``` to your project's Images.xcassets
145
145
146
146
After that, don't forget to rebuild the app in XCode before you launch the simulator. Then test the app by requiring the TwitterApp component:
147
147
148
148
```javascript
149
-
var TwitterApp =require('./node_modules/react-native-router/twitter-example');
149
+
var TwitterApp =require('./node_modules/react-native-simple-router/twitter-example');
0 commit comments