34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
// Module ID: 7770
|
|
// Function ID: 7771
|
|
// Name: ConversationPreviewBlockedMessage
|
|
// Dependencies: [19, 21, 4878, 712, 7771, 7674, 4441, 1236, 2]
|
|
// Exports: default
|
|
|
|
// Module 7770 (ConversationPreviewBlockedMessage)
|
|
import noopAll from "noop" /* 19 */;
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
import Text from "Text" /* 4441 */;
|
|
import Stack from "Stack" /* 4878 */;
|
|
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(7771).DenyIcon;
|
|
} else {
|
|
EyeSlashIcon = tmp2(7674).EyeSlashIcon;
|
|
}
|
|
obj = { size: "sm", color: ThemesDefault.colors.TEXT_MUTED };
|
|
const items = [closure_3(EyeSlashIcon, obj), ];
|
|
const intl = tmp2(1236).intl;
|
|
const t = tmp2(1236).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);
|
|
};
|