decord/source/modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx

44 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 10852
// Function ID: 10853
2026-07-20 16:05:17 +00:00
// Name: UnifiedGiftModalRecipientSelectScreen
2026-09-02 09:53:35 +00:00
// Dependencies: [19, 17, 10853, 21, 4478, 709, 1498, 10854, 10820, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-09-02 09:53:35 +00:00
// Module 10852 (UnifiedGiftModalRecipientSelectScreen)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
2026-09-02 09:53:35 +00:00
import ThemesDefault from "Themes" /* 709 */;
import SearchableUserListDefault from "SearchableUserList" /* 10854 */;
2026-08-24 06:08:38 +00:00
import { View } from "get ActivityIndicator" /* 17 */;
2026-09-02 09:53:35 +00:00
import { UserRowModes } from "UserRowModes" /* 10853 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-09-01 10:26:29 +00:00
import createCacheKey from "createCacheKey" /* 4478 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
createCacheKey = { container: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { flex: 1, paddingTop: 16, backgroundColor: ThemesDefault.colors.MOBILE_ACTIONSHEET_BACKGROUND };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_6 = createCacheKey.createStyles(createCacheKey);
const result = require("set").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-08-24 06:08:38 +00:00
importDefault = undefined;
2026-09-02 09:53:35 +00:00
let obj = setRecipientUser(1498);
2026-07-29 08:29:29 +00:00
importDefault = obj.useNavigation();
2026-08-24 06:08:38 +00:00
obj = { style: callback().container, children: jsx(SearchableUserListDefault, obj) };
2026-07-20 16:05:17 +00:00
obj = {
onSelectUser(user) {
setRecipientUser(user);
2026-08-24 06:08:38 +00:00
navigation.navigate(setRecipientUser(closure_1_2[8]).UnifiedGiftModalScreens.GIFT_DETAIL);
2026-07-20 16:05:17 +00:00
},
rowMode: UserRowModes.NONE,
disableGradient: true,
disableThemedGradient: true
};
2026-07-23 10:11:24 +00:00
return <View onSelectUser={function onSelectUser(user) {
setRecipientUser(user);
2026-08-24 06:08:38 +00:00
navigation.navigate(setRecipientUser(closure_1_2[8]).UnifiedGiftModalScreens.GIFT_DETAIL);
2026-07-23 10:11:24 +00:00
}} rowMode={UserRowModes.NONE} disableGradient disableThemedGradient />;
2026-07-20 16:05:17 +00:00
};