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

33 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 11903
// Function ID: 11904
2026-07-20 16:05:17 +00:00
// Name: GuildPowerupsDisabledWarning
2026-08-08 06:10:11 +00:00
// Dependencies: [17, 21, 4303, 712, 7962, 4299, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-08 06:10:11 +00:00
// Module 11903 (GuildPowerupsDisabledWarning)
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c4;
let c5;
({ jsx: c4, jsxs: c5 } = jsxProd);
let obj = { container: null, text: null };
obj = { flexDirection: "row", alignItems: "center", gap: require("Themes").space.PX_8, borderColor: require("Themes").colors.STATUS_WARNING_BACKGROUND, borderWidth: 1, borderRadius: require("Themes").radii.lg, padding: require("Themes").space.PX_12, backgroundColor: require("Themes").colors.BACKGROUND_FEEDBACK_WARNING };
obj[0] = obj;
obj[1] = { flex: 1 };
let closure_6 = createCacheKey.createStyles(obj);
const result = require("createCacheKey").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 };
obj = { color: null, size: "md" };
obj[0] = importDefault(712).colors.TEXT_FEEDBACK_WARNING;
2026-08-08 06:10:11 +00:00
const items = [callback(require(7962) /* 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-08 06:10:11 +00:00
items[1] = callback(require(4299) /* 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);
};