decord/source/modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

43 lines
1.8 KiB
TypeScript

// Module ID: 10864
// Function ID: 10865
// Name: UnifiedGiftModalRecipientSelectScreen
// Dependencies: [19, 17, 10865, 21, 4560, 576, 1483, 10866, 10832, 2]
// Exports: default
// Module 10864 (UnifiedGiftModalRecipientSelectScreen)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 576 */;
import SearchableUserListDefault from "SearchableUserList" /* 10866 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { UserRowModes } from "UserRowModes" /* 10865 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
const require = arg1;
noopAll;
createCacheKey = { container: null };
createCacheKey = { flex: 1, paddingTop: 16, backgroundColor: ThemesDefault.colors.MOBILE_ACTIONSHEET_BACKGROUND };
createCacheKey[0] = createCacheKey;
let closure_6 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx");
export default function UnifiedGiftModalRecipientSelectScreen(setRecipientUser) {
setRecipientUser = setRecipientUser.setRecipientUser;
importDefault = undefined;
let obj = setRecipientUser(1483);
importDefault = obj.useNavigation();
obj = { style: callback().container, children: jsx(SearchableUserListDefault, obj) };
obj = {
onSelectUser(user) {
setRecipientUser(user);
navigation.navigate(setRecipientUser(closure_1_2[8]).UnifiedGiftModalScreens.GIFT_DETAIL);
},
rowMode: UserRowModes.NONE,
disableGradient: true,
disableThemedGradient: true
};
return <View onSelectUser={function onSelectUser(user) {
setRecipientUser(user);
navigation.navigate(setRecipientUser(closure_1_2[8]).UnifiedGiftModalScreens.GIFT_DETAIL);
}} rowMode={UserRowModes.NONE} disableGradient disableThemedGradient />;
};