decord/source/modules/quests/native/BountiesNuxPromoSheet.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

43 lines
2.1 KiB
TypeScript

// Module ID: 15145
// Function ID: 15146
// Name: BountiesNuxPromoSheet
// Dependencies: [19, 17, 21, 4605, 576, 4572, 15144, 10300, 1114, 5857, 5025, 2]
// Exports: default
// Module 15145 (BountiesNuxPromoSheet)
import nativeDefault from "native" /* 576 */;
import util from "util" /* 1114 */;
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4572 */;
import components_Button_Button from "components/Button/Button" /* 5025 */;
import BountiesPosterSpotIllustration from "BountiesPosterSpotIllustration" /* 5857 */;
import PromoSheet from "PromoSheet" /* 10300 */;
import openBountiesNuxPromoSheet from "openBountiesNuxPromoSheet" /* 15144 */;
import noop from "module_19" /* 19 */;
require = fn;
const View = fn(17).View;
const jsx = fn(21).jsx;
const createStyles = fn(4605);
const obj2 = { illustrationContainer: { paddingTop: nativeDefault.space.PX_12 } };
let closure_6 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/quests/native/BountiesNuxPromoSheet.tsx");
export default function BountiesNuxPromoSheet() {
const callback = noop.useCallback(() => {
ActionSheetActionCreatorsDefault.hideActionSheet(openBountiesNuxPromoSheet.PROMO_SHEET_KEY);
}, []);
const obj = { gradientColor: "purple", title: null, description: null, illustration: null, actions: null };
const intl = util.intl;
obj.title = intl.string(util.t.DDpHZG);
const intl2 = util.intl;
obj.description = intl2.string(util.t["LY+igv"]);
const tmp = closure_6();
obj.illustration = <View style={closure_6().illustrationContainer}>{jsx(BountiesPosterSpotIllustration.BountiesPosterSpotIllustration, { width: 273, height: 205 })}</View>;
const obj3 = { grow: true, size: "lg", variant: "primary", text: null, onPress: null };
const intl3 = util.intl;
obj3.text = intl3.string(util.t.cpT0Cq);
obj3.onPress = callback;
obj.actions = jsx(components_Button_Button.Button, { grow: true, size: "lg", variant: "primary", text: null, onPress: null });
return jsx(PromoSheet.PromoSheet, { gradientColor: "purple", title: null, description: null, illustration: null, actions: null });
};