2026-09-10 19:12:31 +00:00
|
|
|
// Module ID: 10929
|
|
|
|
|
// Function ID: 10930
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: UnifiedGiftModalRecipientSelectScreen
|
2026-09-10 19:12:31 +00:00
|
|
|
// Dependencies: [19, 17, 10930, 21, 4605, 576, 1483, 10931, 10897, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-10 19:12:31 +00:00
|
|
|
// Module 10929 (UnifiedGiftModalRecipientSelectScreen)
|
2026-09-10 05:38:07 +00:00
|
|
|
import nativeDefault from "native" /* 576 */;
|
2026-09-10 19:12:31 +00:00
|
|
|
import UnifiedGiftModalTypes from "UnifiedGiftModalTypes" /* 10897 */;
|
|
|
|
|
import SearchableUserListDefault from "SearchableUserList" /* 10931 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import noop from "module_19" /* 19 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
const View = fn(17).View;
|
2026-09-10 19:12:31 +00:00
|
|
|
const UserRowModes = fn(10930).UserRowModes;
|
2026-09-10 05:38:07 +00:00
|
|
|
const jsx = fn(21).jsx;
|
2026-09-10 19:12:31 +00:00
|
|
|
const createStyles = fn(4605);
|
2026-09-10 05:38:07 +00:00
|
|
|
let obj2 = { container: { flex: 1, paddingTop: 16, backgroundColor: nativeDefault.colors.MOBILE_ACTIONSHEET_BACKGROUND } };
|
|
|
|
|
let closure_6 = createStyles.createStyles(obj2);
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function UnifiedGiftModalRecipientSelectScreen(setRecipientUser) {
|
2026-07-23 10:11:24 +00:00
|
|
|
setRecipientUser = setRecipientUser.setRecipientUser;
|
2026-09-10 05:38:07 +00:00
|
|
|
importDefault = setRecipientUser(1483).useNavigation();
|
|
|
|
|
const obj2 = {
|
|
|
|
|
style: closure_6().container,
|
|
|
|
|
children: jsx(SearchableUserListDefault, {
|
|
|
|
|
onSelectUser(user) {
|
|
|
|
|
setRecipientUser(user);
|
|
|
|
|
navigation.navigate(UnifiedGiftModalTypes.UnifiedGiftModalScreens.GIFT_DETAIL);
|
|
|
|
|
},
|
|
|
|
|
rowMode: UserRowModes.NONE,
|
|
|
|
|
disableGradient: true,
|
|
|
|
|
disableThemedGradient: true
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
return <View style={closure_6().container}>{jsx(SearchableUserListDefault, {
|
2026-07-20 16:05:17 +00:00
|
|
|
onSelectUser(user) {
|
|
|
|
|
setRecipientUser(user);
|
2026-09-10 05:38:07 +00:00
|
|
|
navigation.navigate(UnifiedGiftModalTypes.UnifiedGiftModalScreens.GIFT_DETAIL);
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
rowMode: UserRowModes.NONE,
|
|
|
|
|
disableGradient: true,
|
|
|
|
|
disableThemedGradient: true
|
2026-09-10 05:38:07 +00:00
|
|
|
})}</View>;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|