1 | import Group from './Group';
|
2 | import Screen from './Screen';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export default function createNavigatorFactory(Navigator) {
|
12 | return function () {
|
13 | if (arguments[0] !== undefined) {
|
14 | throw new Error("Creating a navigator doesn't take an argument. Maybe you are trying to use React Navigation 4 API? See https://reactnavigation.org/docs/hello-react-navigation for the latest API and guides.");
|
15 | }
|
16 |
|
17 | return {
|
18 | Navigator,
|
19 | Group,
|
20 | Screen
|
21 | };
|
22 | };
|
23 | }
|
24 |
|
\ | No newline at end of file |