40 lines
1.6 KiB
TypeScript
40 lines
1.6 KiB
TypeScript
// Module ID: 9509
|
|
// Function ID: 9510
|
|
// Name: UnifiedGiftModalRecipientSelectScreen
|
|
// Dependencies: [19, 17, 9510, 21, 4255, 712, 1480, 9511, 9470, 2]
|
|
// Exports: default
|
|
|
|
// Module 9509 (UnifiedGiftModalRecipientSelectScreen)
|
|
import "noop";
|
|
import { View } from "get ActivityIndicator";
|
|
import { UserRowModes } from "UserRowModes";
|
|
import { jsx } from "jsxProd";
|
|
import createCacheKey from "createCacheKey";
|
|
|
|
const require = arg1;
|
|
createCacheKey = { container: null };
|
|
createCacheKey = { flex: 1, paddingTop: 16, backgroundColor: require("Themes").colors.MOBILE_ACTIONSHEET_BACKGROUND };
|
|
createCacheKey[0] = createCacheKey;
|
|
createCacheKey = createCacheKey.createStyles(createCacheKey);
|
|
const result = require("UserRowModes").fileFinishedImporting("modules/checkout/native/gifting/UnifiedGiftModalRecipientSelectScreen.tsx");
|
|
|
|
export default function UnifiedGiftModalRecipientSelectScreen(setRecipientUser) {
|
|
setRecipientUser = setRecipientUser.setRecipientUser;
|
|
let importDefault;
|
|
let obj = setRecipientUser(1480);
|
|
importDefault = obj.useNavigation();
|
|
obj = { style: createCacheKey().container, children: jsx(importDefault(9511), obj) };
|
|
obj = {
|
|
onSelectUser(user) {
|
|
setRecipientUser(user);
|
|
navigation.navigate(setRecipientUser(outer1_2[8]).UnifiedGiftModalScreens.GIFT_DETAIL);
|
|
},
|
|
rowMode: UserRowModes.NONE,
|
|
disableGradient: true,
|
|
disableThemedGradient: true
|
|
};
|
|
return <View onSelectUser={function onSelectUser(user) {
|
|
setRecipientUser(user);
|
|
navigation.navigate(setRecipientUser(outer1_2[8]).UnifiedGiftModalScreens.GIFT_DETAIL);
|
|
}} rowMode={UserRowModes.NONE} disableGradient disableThemedGradient />;
|
|
};
|