decord/source/modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

43 lines
1.8 KiB
TypeScript

// Module ID: 10790
// Function ID: 10791
// Name: UnifiedGiftModalRecipientSelectScreen
// Dependencies: [19, 17, 10791, 21, 4481, 709, 1498, 10792, 10758, 2]
// Exports: default
// Module 10790 (UnifiedGiftModalRecipientSelectScreen)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 709 */;
import SearchableUserListDefault from "SearchableUserList" /* 10792 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { UserRowModes } from "UserRowModes" /* 10791 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4481 */;
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(1498);
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 />;
};