|
|
|
|
41
|
|
41
|
|
42
|
#### Step 2 - Register all of your screen components
|
42
|
#### Step 2 - Register all of your screen components
|
43
|
|
43
|
|
44
|
-Every screen that you want to be able to place in a tab, push to the navigation stack or present modally needs to be registered. We recommend doing this in a central place, like [screens/index.js](https://github.com/wix/react-native-navigation/blob/master/example/src/screens/index.ios.js).
|
|
|
|
|
44
|
+Every screen that you want to be able to place in a tab, push to the navigation stack or present modally needs to be registered. We recommend doing this in a central place, like [screens/index.js](https://github.com/wix/react-native-navigation/blob/master/example/src/screens/index.js).
|
45
|
|
45
|
|
46
|
> Note: Since your screens will potentially be bundled with other packages, your registered name must be **unique**! Follow a namespacing convention like `packageName.ScreenName`.
|
46
|
> Note: Since your screens will potentially be bundled with other packages, your registered name must be **unique**! Follow a namespacing convention like `packageName.ScreenName`.
|
47
|
|
47
|
|
|
|
|
|
70
|
screen: 'example.PushedScreen',
|
70
|
screen: 'example.PushedScreen',
|
71
|
title: 'Pushed Screen'
|
71
|
title: 'Pushed Screen'
|
72
|
});
|
72
|
});
|
73
|
-```
|
|
|
|
|
73
|
+```
|