decord/source/modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx
2026-09-02 09:53:35 +00:00

43 lines
1.8 KiB
TypeScript

// Module ID: 10852
// Function ID: 10853
// Name: UnifiedGiftModalRecipientSelectScreen
// Dependencies: [19, 17, 10853, 21, 4478, 709, 1498, 10854, 10820, 2]
// Exports: default
// Module 10852 (UnifiedGiftModalRecipientSelectScreen)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 709 */;
import SearchableUserListDefault from "SearchableUserList" /* 10854 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { UserRowModes } from "UserRowModes" /* 10853 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4478 */;
const require = arg1;
noopAll;
createCacheKey = { container: null };
createCacheKey = { flex: 1, paddingTop: 16, backgroundColor: ThemesDefault.colors.MOBILE_ACTIONSHEET_BACKGROUND };
createCacheKey[0] = createCacheKey;
let closure_6 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx");
export default function UnifiedGiftModalRecipientSelectScreen(setRecipientUser) {
setRecipientUser = setRecipientUser.setRecipientUser;
importDefault = undefined;
let obj = setRecipientUser(1498);
importDefault = obj.useNavigation();
obj = { style: callback().container, children: jsx(SearchableUserListDefault, obj) };
obj = {
onSelectUser(user) {
setRecipientUser(user);
navigation.navigate(setRecipientUser(closure_1_2[8]).UnifiedGiftModalScreens.GIFT_DETAIL);
},
rowMode: UserRowModes.NONE,
disableGradient: true,
disableThemedGradient: true
};
return <View onSelectUser={function onSelectUser(user) {
setRecipientUser(user);
navigation.navigate(setRecipientUser(closure_1_2[8]).UnifiedGiftModalScreens.GIFT_DETAIL);
}} rowMode={UserRowModes.NONE} disableGradient disableThemedGradient />;
};