24 lines
809 B
JavaScript
24 lines
809 B
JavaScript
// Module ID: 1509
|
|
// Function ID: 1510
|
|
// Name: createNavigatorFactory
|
|
// Dependencies: [1510, 1511]
|
|
|
|
// Module 1509 (createNavigatorFactory)
|
|
const module = arg2;
|
|
const dependencyMap = arg6;
|
|
arg5.default = function createNavigatorFactory(arg0) {
|
|
let closure_0 = arg0;
|
|
return () => {
|
|
if (undefined !== arguments[0]) {
|
|
const _Error = Error;
|
|
const error = 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.");
|
|
throw error;
|
|
} else {
|
|
const obj = { Navigator: null, Group: null, Screen: null };
|
|
obj[0] = callback;
|
|
obj[1] = callback(outer1_1[0]);
|
|
obj[2] = callback(outer1_1[1]);
|
|
return obj;
|
|
}
|
|
};
|
|
};
|