decord/source/modules/verification/native/components/CountrySelectModal.tsx
2026-09-03 10:05:34 +00:00

39 lines
1.3 KiB
TypeScript

// Module ID: 7785
// Function ID: 7786
// Name: CountrySelectModal
// Dependencies: [19, 21, 1233, 5504, 4724, 7786, 7783, 6055, 7811, 6017, 2]
// Exports: default
// Module 7785 (CountrySelectModal)
import NavigationStack from "NavigationStack" /* 6017 */;
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(1233).intl;
obj[0] = intl.string(callback(1233).t.gzXECH);
obj[1] = callback(5504).getHeaderCloseButton(callback2(4724).pop);
obj[2] = function render() {
return callback2(callback(table[5]), {
onClose() {
return callback(4724).pop();
},
onCountrySelected(countryCode) {
return callback(7783).setCountryCode(countryCode);
}
});
};
obj[0] = obj;
return obj;
}, []);
const effect = React.useEffect(() => () => {
callback(6055).runAfterInteractions(callback(7811).setCountrySelectorClosed, 400);
}, []);
return jsx(NavigationStack.Navigator, { screens, initialRouteName: "COUNTRY_SELECT" });
};