decord/source/modules/markup/native/MarkupInlineChannelMentionRules.tsx
2026-09-03 10:05:34 +00:00

46 lines
1.7 KiB
TypeScript

// Module ID: 10235
// Function ID: 10236
// Name: inlineChannelMentionReact
// Dependencies: [19, 21, 8017, 1296, 1470, 2]
// Exports: createInlineChannelReact, inlineChannelMentionReact, inlineChannelReact
// Module 10235 (inlineChannelMentionReact)
import noopAll from "noop" /* 19 */;
import { jsxs } from "jsxProd" /* 21 */;
let c0 = arg1;
noopAll;
c0 = "\u{1F4AC}";
const result = require("set").fileFinishedImporting("modules/markup/native/MarkupInlineChannelMentionRules.tsx");
export const inlineChannelMentionReact = function inlineChannelMentionReact(inContent, output, key) {
if (null == inContent.inContent) {
let smartOutputResult = u1F4AC(8017).smartOutput(inContent, output, key);
const obj3 = u1F4AC(8017);
} else {
const obj = { children: null };
const items = [output(inContent.inContent, key), " \u203A ", u1F4AC(8017).smartOutput(inContent, output, key)];
obj[0] = items;
smartOutputResult = jsxs(u1F4AC(1296).LegacyText, { children: null }, key.key);
const obj2 = u1F4AC(8017);
}
return smartOutputResult;
};
export function createInlineChannelReact(arg0) {
let str = arg0;
if (arg0 === undefined) {
str = "\u{1F4AC}";
}
return (arg0, output, key) => {
const obj = { children: null };
const items = [str, str(closure_1_1[2]).smartOutput(tmp2, output, key), undefined];
obj[0] = items;
closure_1_2(str(closure_1_1[3]).LegacyText, obj, key.key);
};
}
export const inlineChannelReact = (arg0, output, key) => {
const obj = { children: null };
const items = [str, str(closure_1_1[2]).smartOutput(tmp2, output, key), undefined];
obj[0] = items;
closure_1_2(str(closure_1_1[3]).LegacyText, obj, key.key);
};