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