decord/source/modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

47 lines
1.8 KiB
TypeScript

// Module ID: 10929
// Function ID: 10930
// Name: UnifiedGiftModalRecipientSelectScreen
// Dependencies: [19, 17, 10930, 21, 4605, 576, 1483, 10931, 10897, 2]
// Exports: default
// Module 10929 (UnifiedGiftModalRecipientSelectScreen)
import nativeDefault from "native" /* 576 */;
import UnifiedGiftModalTypes from "UnifiedGiftModalTypes" /* 10897 */;
import SearchableUserListDefault from "SearchableUserList" /* 10931 */;
import noop from "module_19" /* 19 */;
require = fn;
const View = fn(17).View;
const UserRowModes = fn(10930).UserRowModes;
const jsx = fn(21).jsx;
const createStyles = fn(4605);
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");
export default function UnifiedGiftModalRecipientSelectScreen(setRecipientUser) {
setRecipientUser = setRecipientUser.setRecipientUser;
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, {
onSelectUser(user) {
setRecipientUser(user);
navigation.navigate(UnifiedGiftModalTypes.UnifiedGiftModalScreens.GIFT_DETAIL);
},
rowMode: UserRowModes.NONE,
disableGradient: true,
disableThemedGradient: true
})}</View>;
};