decord/source/11053_NativeRouter.js

45 lines
1.2 KiB
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 11053
// Function ID: 11054
2026-08-24 06:08:38 +00:00
// Name: NativeRouter
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 17, 21, 4213, 4210]
2026-08-24 06:08:38 +00:00
2026-08-25 06:04:03 +00:00
// Module 11053 (NativeRouter)
2026-08-24 06:08:38 +00:00
import noopDefault from "noop" /* 19 */;
2026-08-25 06:04:03 +00:00
import emptyFunctionDefault from "emptyFunction" /* 4210 */;
import _extends from "_extends" /* 4213 */;
2026-08-24 06:08:38 +00:00
import { Alert } from "get ActivityIndicator" /* 17 */;
import { jsx } from "jsxProd" /* 21 */;
require = arg1;
class NativeRouter {
constructor(arg0) {
obj = {};
merged = Object.assign(global);
return jsx(require("_extends").MemoryRouter, obj);
}
}
noopDefault;
NativeRouter.defaultProps = {
getUserConfirmation(arg0, arg1) {
closure_0 = arg1;
const items = [
{
text: "Cancel",
onPress() {
return callback(false);
}
},
{
text: "OK",
onPress() {
return callback(true);
}
}
];
Alert.alert("Confirm", arg0, items);
}
};
NativeRouter.propTypes = { initialEntries: emptyFunctionDefault.array, initialIndex: emptyFunctionDefault.number, getUserConfirmation: emptyFunctionDefault.func, keyLength: emptyFunctionDefault.number, children: emptyFunctionDefault.node };
export default NativeRouter;