decord/source/modules/virtual_currency/native/OrbOnboardingPill.tsx

54 lines
2.2 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 15214
// Function ID: 15215
2026-07-20 16:05:17 +00:00
// Name: OrbOnboardingPill
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 21, 5438, 9275, 4739, 1236, 4668, 712, 2]
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 15214 (OrbOnboardingPill)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import Text from "Text" /* 4739 */;
import PressableBase from "PressableBase" /* 5438 */;
import OrbsIcon from "OrbsIcon" /* 9275 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-20 16:05:17 +00:00
class OrbOnboardingPill {
constructor(arg0) {
flag = global.accessible;
if (flag === undefined) {
flag = true;
}
2026-07-29 08:29:29 +00:00
tmp3 = closure_0;
tmp4 = closure_1;
2026-08-24 06:08:38 +00:00
tmp = closure_4();
2026-07-20 16:05:17 +00:00
tmp2 = jsxs;
2026-07-29 08:29:29 +00:00
obj = { onPress: global.onPress, style: tmp.container, accessibilityRole: "button", activeOpacity: 0.8, accessible: flag, accessibilityElementsHidden: !flag, importantForAccessibility: null, children: null };
2026-07-20 16:05:17 +00:00
str = "no";
if (flag) {
str = "auto";
}
2026-07-29 08:29:29 +00:00
obj[6] = str;
2026-07-20 16:05:17 +00:00
items = [, ];
2026-07-23 10:11:24 +00:00
items[0] = jsx(require("OrbsIcon").OrbsIcon, { size: "sm" });
2026-07-29 08:29:29 +00:00
obj = { variant: "text-sm/semibold", color: "redesign-button-tertiary-text", children: null };
2026-07-23 10:11:24 +00:00
intl = require("getSystemLocale").intl;
2026-07-29 08:29:29 +00:00
obj[2] = intl.string(require("getSystemLocale").t["9JpRfC"]);
2026-07-23 10:11:24 +00:00
items[1] = jsx(require("Text").Text, obj);
2026-07-29 08:29:29 +00:00
obj[7] = items;
2026-07-23 10:11:24 +00:00
return tmp2(require("PressableBase").PressableOpacity, obj);
2026-07-20 16:05:17 +00:00
}
}
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
({ jsx: obj1, jsxs: c3 } = jsxProd);
2026-07-20 16:05:17 +00:00
OrbOnboardingPill.displayName = "OrbOnboardingPill";
2026-07-29 08:29:29 +00:00
createCacheKey = { container: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { height: 36, borderRadius: ThemesDefault.radii.round, justifyContent: "center", alignItems: "center", flexDirection: "row", paddingHorizontal: ThemesDefault.space.PX_12, paddingVertical: ThemesDefault.space.PX_4, backgroundColor: ThemesDefault.colors.REDESIGN_BUTTON_TERTIARY_BACKGROUND, flexShrink: 0, gap: 4 };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_4 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/virtual_currency/native/OrbOnboardingPill.tsx");
2026-07-20 16:05:17 +00:00
export default OrbOnboardingPill;
export { OrbOnboardingPill };