decord/source/modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

34 lines
1.3 KiB
TypeScript

// Module ID: 7928
// Function ID: 7929
// Name: ConversationPreviewBlockedMessage
// Dependencies: [19, 21, 4973, 576, 7929, 6968, 4556, 1114, 2]
// Exports: default
// Module 7928 (ConversationPreviewBlockedMessage)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 576 */;
import Text from "Text" /* 4556 */;
import Stack from "Stack" /* 4973 */;
import jsxProd from "jsxProd" /* 21 */;
require = arg1;
noopAll;
({ jsx: c3, jsxs: c4 } = jsxProd);
const result = require("set").fileFinishedImporting("modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx");
export default function ConversationPreviewBlockedMessage(reason) {
let obj = { direction: "horizontal", spacing: ThemesDefault.space.PX_8, align: "center", children: null };
if ("blocked" === reason.reason) {
let EyeSlashIcon = tmp2(7929).DenyIcon;
} else {
EyeSlashIcon = tmp2(6968).EyeSlashIcon;
}
obj = { size: "sm", color: ThemesDefault.colors.TEXT_MUTED };
const items = [closure_3(EyeSlashIcon, obj), ];
const intl = tmp2(1114).intl;
const t = tmp2(1114).t;
obj = { variant: "text-md/normal", color: "text-muted", children: intl.string(tmp6 ? t["WPe+xL"] : t.uxrh1O) };
items[1] = closure_3(Text.Text, obj);
obj[3] = items;
return closure_4(Stack.Stack, obj);
};