39 lines
1.3 KiB
TypeScript
39 lines
1.3 KiB
TypeScript
// Module ID: 7706
|
|
// Function ID: 7707
|
|
// Name: CountrySelectModal
|
|
// Dependencies: [19, 21, 1236, 5447, 4676, 7707, 7704, 5998, 7732, 5960, 2]
|
|
// Exports: default
|
|
|
|
// Module 7706 (CountrySelectModal)
|
|
import NavigationStack from "NavigationStack" /* 5960 */;
|
|
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(5447).getHeaderCloseButton(callback2(4676).pop);
|
|
obj[2] = function render() {
|
|
return callback2(callback(table[5]), {
|
|
onClose() {
|
|
return callback(4676).pop();
|
|
},
|
|
onCountrySelected(countryCode) {
|
|
return callback(7704).setCountryCode(countryCode);
|
|
}
|
|
});
|
|
};
|
|
obj[0] = obj;
|
|
return obj;
|
|
}, []);
|
|
const effect = React.useEffect(() => () => {
|
|
callback(5998).runAfterInteractions(callback(7732).setCountrySelectorClosed, 400);
|
|
}, []);
|
|
return jsx(NavigationStack.Navigator, { screens, initialRouteName: "COUNTRY_SELECT" });
|
|
};
|