decord/source/1485_createNavigatorFactory.js

22 lines
747 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1485
2026-07-25 08:10:48 +00:00
// Function ID: 17195
2026-07-20 16:05:17 +00:00
// Name: createNavigatorFactory
2026-07-23 10:11:24 +00:00
// Dependencies: [1486, 1487]
2026-07-20 16:05:17 +00:00
// Module 1485 (createNavigatorFactory)
2026-07-23 10:11:24 +00:00
const module = arg2;
const dependencyMap = arg6;
2026-07-20 16:05:17 +00:00
arg5.default = function createNavigatorFactory(arg0) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
2026-07-20 16:05:17 +00:00
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 {
2026-07-23 10:11:24 +00:00
const obj = { Navigator: callback, Group: callback(outer1_1[0]), Screen: callback(outer1_1[1]) };
2026-07-20 16:05:17 +00:00
return obj;
}
};
};