decord/source/modules/webauthn/native/UserSettingsWebAuthn.tsx

36 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 14773
// Function ID: 14774
2026-07-20 16:05:17 +00:00
// Name: UserSettingsWebAuthn
// Dependencies: [19, 14771, 21, 14774, 7110, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 14773 (UserSettingsWebAuthn)
import Navigator from "Navigator" /* 7110 */;
import WebAuthnScreens2 from "WebAuthnScreens" /* 14774 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
require = fn;
const WebAuthnScreens = fn(14771).WebAuthnScreens;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("modules/webauthn/native/UserSettingsWebAuthn.tsx");
2026-07-20 16:05:17 +00:00
export default function UserSettingsWebAuthn(showNav) {
2026-07-23 10:11:24 +00:00
({ navigation: require, initialRouteName } = showNav);
2026-07-20 16:05:17 +00:00
if (initialRouteName === undefined) {
initialRouteName = WebAuthnScreens.INIT;
}
let flag = showNav.showNav;
if (flag === undefined) {
flag = false;
}
const screens = WebAuthnScreens2.getScreens({ isModal: false });
const layoutEffect = noop.useLayoutEffect(() => {
2026-07-20 16:05:17 +00:00
options.setOptions({ headerShown: flag });
});
const obj2 = { screens, initialRouteName, initialRouteStack: null, useContainer: false };
const items = [{ name: initialRouteName }];
obj2.initialRouteStack = items;
return jsx(Navigator.Navigator, { screens, initialRouteName, initialRouteStack: null, useContainer: false });
2026-07-20 16:05:17 +00:00
};