decord/source/modules/search/native/components/HighlightText.tsx

29 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 9956
// Function ID: 9957
2026-07-20 16:05:17 +00:00
// Name: HighlightText
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 676, 21, 4380, 4228, 712, 1297, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 9956 (HighlightText)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import Button from "Button" /* 1297 */;
import { jsx } from "jsxProd" /* 21 */;
2026-08-25 06:04:03 +00:00
import createCacheKey from "createCacheKey" /* 4380 */;
import hexToRgba from "hexToRgba" /* 4228 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
createCacheKey = { text: null };
createCacheKey = { fontFamily: require("ME").Fonts.PRIMARY_BOLD, backgroundColor: null, color: null };
2026-08-24 06:08:38 +00:00
createCacheKey[1] = hexToRgba.hexOpacityToRgba(ThemesDefault.unsafe_rawColors.YELLOW_300, 0.3);
createCacheKey[2] = ThemesDefault.colors.TEXT_STRONG;
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_3 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/search/native/components/HighlightText.tsx");
2026-07-20 16:05:17 +00:00
export default function HighlightText(children) {
2026-08-24 06:08:38 +00:00
const tmp = callback();
return jsx(Button.LegacyText, { style: callback().text, children: children.children });
2026-07-20 16:05:17 +00:00
};