decord/source/modules/quests/native/BountiesNuxPromoSheet.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

43 lines
2.1 KiB
TypeScript

// Module ID: 15148
// Function ID: 15149
// Name: BountiesNuxPromoSheet
// Dependencies: [19, 17, 21, 4636, 576, 4603, 15147, 10358, 1114, 5908, 5056, 2]
// Exports: default
// Module 15148 (BountiesNuxPromoSheet)
import nativeDefault from "native" /* 576 */;
import util from "util" /* 1114 */;
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4603 */;
import components_Button_Button from "components/Button/Button" /* 5056 */;
import BountiesPosterSpotIllustration from "BountiesPosterSpotIllustration" /* 5908 */;
import PromoSheet from "PromoSheet" /* 10358 */;
import openBountiesNuxPromoSheet from "openBountiesNuxPromoSheet" /* 15147 */;
import noop from "module_19" /* 19 */;
require = fn;
const View = fn(17).View;
const jsx = fn(21).jsx;
const createStyles = fn(4636);
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.aC3Dwj);
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 });
};