decord/source/modules/premium/powerups/native/GuildPowerupsDisabledWarning.tsx

35 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11763
// Function ID: 11764
2026-07-20 16:05:17 +00:00
// Name: GuildPowerupsDisabledWarning
2026-08-24 06:08:38 +00:00
// Dependencies: [17, 21, 4668, 712, 8117, 4739, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 11763 (GuildPowerupsDisabledWarning)
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import ThemesDefault from "Themes" /* 712 */;
import Text from "Text" /* 4739 */;
import WarningIcon from "WarningIcon" /* 8117 */;
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
const View = get_ActivityIndicator.View;
2026-07-29 08:29:29 +00:00
({ jsx: c4, jsxs: c5 } = jsxProd);
let obj = { container: null, text: null };
2026-08-24 06:08:38 +00:00
obj = { flexDirection: "row", alignItems: "center", gap: ThemesDefault.space.PX_8, borderColor: ThemesDefault.colors.STATUS_WARNING_BACKGROUND, borderWidth: 1, borderRadius: ThemesDefault.radii.lg, padding: ThemesDefault.space.PX_12, backgroundColor: ThemesDefault.colors.BACKGROUND_FEEDBACK_WARNING };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
obj[1] = { flex: 1 };
let closure_6 = createCacheKey.createStyles(obj);
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsDisabledWarning.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default function GuildPowerupsDisabledWarning(children) {
2026-07-20 16:05:17 +00:00
const tmp = callback3();
2026-07-29 08:29:29 +00:00
let obj = { style: tmp.container, children: null };
2026-08-24 06:08:38 +00:00
obj = { color: ThemesDefault.colors.TEXT_FEEDBACK_WARNING, size: "md" };
const items = [callback(WarningIcon.WarningIcon, obj), ];
2026-07-29 08:29:29 +00:00
obj = { style: tmp.text, variant: "text-md/semibold", color: "text-feedback-warning", children: children.text };
2026-08-24 06:08:38 +00:00
items[1] = callback(Text.Text, obj);
2026-07-29 08:29:29 +00:00
obj[1] = items;
2026-07-20 16:05:17 +00:00
return callback2(View, obj);
};