34 lines
1.6 KiB
TypeScript
34 lines
1.6 KiB
TypeScript
// Module ID: 12103
|
|
// Function ID: 12104
|
|
// Name: GuildPowerupsDisabledWarning
|
|
// Dependencies: [17, 21, 4380, 712, 8113, 4376, 2]
|
|
// Exports: default
|
|
|
|
// Module 12103 (GuildPowerupsDisabledWarning)
|
|
import set from "set" /* 2 */;
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
import Text from "Text" /* 4376 */;
|
|
import WarningIcon from "WarningIcon" /* 8113 */;
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4380 */;
|
|
|
|
const View = get_ActivityIndicator.View;
|
|
({ jsx: c4, jsxs: c5 } = jsxProd);
|
|
let obj = { container: null, text: null };
|
|
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 };
|
|
obj[0] = obj;
|
|
obj[1] = { flex: 1 };
|
|
let closure_6 = createCacheKey.createStyles(obj);
|
|
const result = set.fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsDisabledWarning.tsx");
|
|
|
|
export default function GuildPowerupsDisabledWarning(children) {
|
|
const tmp = callback3();
|
|
let obj = { style: tmp.container, children: null };
|
|
obj = { color: ThemesDefault.colors.TEXT_FEEDBACK_WARNING, size: "md" };
|
|
const items = [callback(WarningIcon.WarningIcon, obj), ];
|
|
obj = { style: tmp.text, variant: "text-md/semibold", color: "text-feedback-warning", children: children.text };
|
|
items[1] = callback(Text.Text, obj);
|
|
obj[1] = items;
|
|
return callback2(View, obj);
|
|
};
|