decord/source/modules/verification/native/components/CountrySelectModal.tsx
2026-09-01 10:26:29 +00:00

39 lines
1.3 KiB
TypeScript

// Module ID: 7773
// Function ID: 7774
// Name: CountrySelectModal
// Dependencies: [19, 21, 1236, 5495, 4723, 7774, 7771, 6046, 7799, 6008, 2]
// Exports: default
// Module 7773 (CountrySelectModal)
import NavigationStack from "NavigationStack" /* 6008 */;
import closure_3 from "noop" /* 19 */;
import { jsx } from "jsxProd" /* 21 */;
require = arg1;
const result = require("set").fileFinishedImporting("modules/verification/native/components/CountrySelectModal.tsx");
export default function CountrySelectModal() {
const screens = React.useMemo(() => {
let obj = { COUNTRY_SELECT: null };
obj = { title: null, headerLeft: null, render: null };
const intl = callback(1236).intl;
obj[0] = intl.string(callback(1236).t.gzXECH);
obj[1] = callback(5495).getHeaderCloseButton(callback2(4723).pop);
obj[2] = function render() {
return callback2(callback(table[5]), {
onClose() {
return callback(4723).pop();
},
onCountrySelected(countryCode) {
return callback(7771).setCountryCode(countryCode);
}
});
};
obj[0] = obj;
return obj;
}, []);
const effect = React.useEffect(() => () => {
callback(6046).runAfterInteractions(callback(7799).setCountrySelectorClosed, 400);
}, []);
return jsx(NavigationStack.Navigator, { screens, initialRouteName: "COUNTRY_SELECT" });
};