decord/source/modules/search/native/components/HighlightText.tsx
2026-08-25 06:04:03 +00:00

28 lines
1.1 KiB
TypeScript

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