|
@@ -46,11 +46,11 @@ Here is the full comparison of features between v1 and v2 (will be updated regul
|
46
|
46
|
|---------------------|--------|------------|
|
47
|
47
|
| push | ✅ | ✅ |
|
48
|
48
|
| pop | ✅ | ✅ |
|
49
|
|
-| showModal | ✅ | ✅ Only iOS |
|
|
49
|
+| showModal | ✅ | ✅ Only iOS [Contribute](CONTRIBUTING.md) |
|
50
|
50
|
| popToRoot | ✅ | ✅ |
|
51
|
51
|
| resetTo | ✅ | [Contribute](CONTRIBUTING.md) |
|
52
|
|
-| dismissModal | ✅ | ✅ Only iOS |
|
53
|
|
-| dismissAllModals | ✅ | ✅ Only iOS |
|
|
52
|
+| dismissModal | ✅ | ✅ Only iOS [Contribute](CONTRIBUTING.md) |
|
|
53
|
+| dismissAllModals | ✅ | ✅ Only iOS [Contribute](CONTRIBUTING.md) |
|
54
|
54
|
| showLightBox | ✅ | [Contribute](CONTRIBUTING.md) |
|
55
|
55
|
| dismissLightBox | ✅ | [Contribute](CONTRIBUTING.md) |
|
56
|
56
|
| handleDeepLink | ✅ | [Contribute](CONTRIBUTING.md) |
|
|
@@ -64,7 +64,7 @@ Here is the full comparison of features between v1 and v2 (will be updated regul
|
64
|
64
|
| toggleNavBar | ✅ | [Contribute](CONTRIBUTING.md) |
|
65
|
65
|
| Screen Visibility | ✅ | ✅ |
|
66
|
66
|
|
67
|
|
-Element tranisitions, adding buttons and styles are not supported yet.
|
|
67
|
+Element tranisitions, adding buttons and styles are not yet implemented. [Contribute](CONTRIBUTING.md)
|
68
|
68
|
|
69
|
69
|
## Getting started with v2
|
70
|
70
|
If v2 supports everything you need for your app we encourage you to use it.
|
|
@@ -185,7 +185,7 @@ Navigation.events().onAppLaunched(() => {
|
185
|
185
|
});
|
186
|
186
|
```
|
187
|
187
|
|
188
|
|
-#### registerContainer(screenID, generator, store = undefined, Provider = undefined)
|
|
188
|
+#### registerContainer(screenID, generator)
|
189
|
189
|
Every screen component in your app must be registered with a unique name. The component itself is a traditional React component extending React.Component.
|
190
|
190
|
```js
|
191
|
191
|
Navigation.registerContainer(`navigation.playground.WelcomeScreen`, () => WelcomeScreen);
|