38 lines
1.7 KiB
TypeScript
38 lines
1.7 KiB
TypeScript
// Module ID: 14539
|
|
// Function ID: 14540
|
|
// Name: QuestAccessSuspendedBottomSheet
|
|
// Dependencies: [19, 676, 11098, 21, 4346, 14538, 7398, 8056, 1236, 4750, 2]
|
|
// Exports: default
|
|
|
|
// Module 14539 (QuestAccessSuspendedBottomSheet)
|
|
import getSystemLocale from "getSystemLocale" /* 1236 */;
|
|
import Button from "Button" /* 4750 */;
|
|
import PromoSheet from "PromoSheet" /* 8056 */;
|
|
import closure_3 from "noop" /* 19 */;
|
|
import { UserSettingsSections } from "ME" /* 676 */;
|
|
import { AccountSettingsTabs } from "AccountSettingsTabs" /* 11098 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
|
|
require = arg1;
|
|
const result = require("set").fileFinishedImporting("modules/quests/native/QuestAccessSuspendedBottomSheet.tsx");
|
|
|
|
export default function QuestAccessSuspendedBottomSheet() {
|
|
const callback = React.useCallback(() => {
|
|
let obj = callback2(4346);
|
|
obj.hideActionSheet(callback(14538).ACTION_SHEET_KEY);
|
|
obj = { screen: constants.ACCOUNT, params: obj };
|
|
obj = { initialTab: constants2.STANDING };
|
|
callback(7398).openUserSettings(obj);
|
|
}, []);
|
|
let obj = { title: null, description: null, actions: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[0] = intl.string(getSystemLocale.t.WfwodX);
|
|
const intl2 = getSystemLocale.intl;
|
|
obj[1] = intl2.string(getSystemLocale.t.I27WXW);
|
|
obj = { grow: true, size: "lg", variant: "primary", text: null, onPress: null };
|
|
const intl3 = getSystemLocale.intl;
|
|
obj[3] = intl3.string(getSystemLocale.t.hvVgAZ);
|
|
obj[4] = callback;
|
|
obj[2] = 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 });
|
|
};
|