16 lines
500 B
JavaScript
16 lines
500 B
JavaScript
// Metro module 1509 (f1510).
|
|
import Group from "./Group";
|
|
import Screen from "./Screen";
|
|
export default function createNavigatorFactory(Navigator) {
|
|
return function() {
|
|
if (arguments[0] !== void 0) {
|
|
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.");
|
|
}
|
|
return {
|
|
Navigator,
|
|
Group,
|
|
Screen
|
|
};
|
|
};
|
|
};
|