33 lines
1.2 KiB
TypeScript
33 lines
1.2 KiB
TypeScript
// Module ID: 9470
|
|
// Function ID: 9471
|
|
// Name: ConversationPreviewBlockedMessage
|
|
// Dependencies: [19, 21, 4664, 712, 9471, 9396, 4251, 1236, 2]
|
|
// Exports: default
|
|
|
|
// Module 9470 (ConversationPreviewBlockedMessage)
|
|
import "noop";
|
|
import jsxProd from "jsxProd";
|
|
|
|
let c3;
|
|
let c4;
|
|
const require = arg1;
|
|
({ jsx: c3, jsxs: c4 } = jsxProd);
|
|
const result = require("Stack").fileFinishedImporting("modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx");
|
|
|
|
export default function ConversationPreviewBlockedMessage(reason) {
|
|
let obj = { direction: "horizontal", spacing: null, align: "center", children: null };
|
|
obj[1] = importDefault(712).space.PX_8;
|
|
if ("blocked" === reason.reason) {
|
|
let EyeSlashIcon = tmp2(9471).DenyIcon;
|
|
} else {
|
|
EyeSlashIcon = tmp2(9396).EyeSlashIcon;
|
|
}
|
|
obj = { size: "sm", color: importDefault(712).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(require(4251) /* Text */.Text, obj);
|
|
obj[3] = items;
|
|
return closure_4(require(4664) /* Stack */.Stack, obj);
|
|
};
|