42 lines
2.2 KiB
TypeScript
42 lines
2.2 KiB
TypeScript
// Module ID: 14517
|
|
// Function ID: 14518
|
|
// Name: BountiesNuxPromoSheet
|
|
// Dependencies: [19, 17, 21, 4380, 712, 4347, 14516, 7878, 1236, 6245, 4815, 2]
|
|
// Exports: default
|
|
|
|
// Module 14517 (BountiesNuxPromoSheet)
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1236 */;
|
|
import Button from "Button" /* 4815 */;
|
|
import BountiesPosterSpotIllustration from "BountiesPosterSpotIllustration" /* 6245 */;
|
|
import PromoSheet from "PromoSheet" /* 7878 */;
|
|
import closure_3 from "noop" /* 19 */;
|
|
import { View } from "get ActivityIndicator" /* 17 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4380 */;
|
|
|
|
require = arg1;
|
|
createCacheKey = { illustrationContainer: null };
|
|
createCacheKey = { paddingTop: ThemesDefault.space.PX_12 };
|
|
createCacheKey[0] = createCacheKey;
|
|
let closure_6 = createCacheKey.createStyles(createCacheKey);
|
|
const result = require("set").fileFinishedImporting("modules/quests/native/BountiesNuxPromoSheet.tsx");
|
|
|
|
export default function BountiesNuxPromoSheet() {
|
|
const callback = React.useCallback(() => {
|
|
callback2(4347).hideActionSheet(callback(14516).PROMO_SHEET_KEY);
|
|
}, []);
|
|
let obj = { gradientColor: "purple", title: null, description: null, illustration: null, actions: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[1] = intl.string(getSystemLocale.t.DDpHZG);
|
|
const intl2 = getSystemLocale.intl;
|
|
obj[2] = intl2.string(getSystemLocale.t["LY+igv"]);
|
|
obj = { style: callback().illustrationContainer, children: jsx(BountiesPosterSpotIllustration.BountiesPosterSpotIllustration, { width: 273, height: 205 }) };
|
|
obj[3] = <View style={callback().illustrationContainer}>{jsx(BountiesPosterSpotIllustration.BountiesPosterSpotIllustration, { width: 273, height: 205 })}</View>;
|
|
obj = { grow: true, size: "lg", variant: "primary", text: null, onPress: null };
|
|
const intl3 = getSystemLocale.intl;
|
|
obj[3] = intl3.string(getSystemLocale.t.cpT0Cq);
|
|
obj[4] = callback;
|
|
obj[4] = jsx(Button.Button, { grow: true, size: "lg", variant: "primary", text: null, onPress: null });
|
|
return jsx(PromoSheet.PromoSheet, { grow: true, size: "lg", variant: "primary", text: null, onPress: null });
|
|
};
|