Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
47 lines
1.8 KiB
TypeScript
47 lines
1.8 KiB
TypeScript
// Module ID: 11005
|
|
// Function ID: 11006
|
|
// Name: UnifiedGiftModalRecipientSelectScreen
|
|
// Dependencies: [19, 17, 11006, 21, 4638, 576, 1484, 11007, 10973, 2]
|
|
// Exports: default
|
|
|
|
// Module 11005 (UnifiedGiftModalRecipientSelectScreen)
|
|
import nativeDefault from "native" /* 576 */;
|
|
import UnifiedGiftModalTypes from "UnifiedGiftModalTypes" /* 10973 */;
|
|
import SearchableUserListDefault from "SearchableUserList" /* 11007 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const View = fn(17).View;
|
|
const UserRowModes = fn(11006).UserRowModes;
|
|
const jsx = fn(21).jsx;
|
|
const createStyles = fn(4638);
|
|
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(1484).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>;
|
|
};
|