decord/source/modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

34 lines
1.4 KiB
TypeScript

// Module ID: 8032
// Function ID: 8033
// Name: ConversationPreviewBlockedMessage
// Dependencies: [19, 21, 5054, 576, 8033, 7069, 4632, 1114, 2]
// Exports: default
// Module 8032 (ConversationPreviewBlockedMessage)
import nativeDefault from "native" /* 576 */;
import Text_Text from "Text/Text" /* 4632 */;
import Stack_Stack from "Stack/Stack" /* 5054 */;
import noop from "module_19" /* 19 */;
require = fn;
const jsxProd = fn(21);
({ jsx: c3, jsxs: closure_4 } = jsxProd);
const size = fn(2);
const result = size.fileFinishedImporting("modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx");
export default function ConversationPreviewBlockedMessage(reason) {
const obj = { direction: "horizontal", spacing: nativeDefault.space.PX_8, align: "center", children: null };
if ("blocked" === reason.reason) {
let EyeSlashIcon = tmp2(8033).DenyIcon;
} else {
EyeSlashIcon = tmp2(7069).EyeSlashIcon;
}
const items = [React3(EyeSlashIcon, { size: "sm", color: nativeDefault.colors.TEXT_MUTED }), ];
const intl = tmp2(1114).intl;
const t = tmp2(1114).t;
const obj2 = { size: "sm", color: nativeDefault.colors.TEXT_MUTED };
const tmp = React4;
items[1] = React3(Text_Text.Text, { variant: "text-md/normal", color: "text-muted", children: intl.string("blocked" === reason.reason ? t["WPe+xL"] : t.uxrh1O) });
obj.children = items;
return tmp(Stack_Stack.Stack, obj);
};