decord/source/modules/search/native/components/HighlightText.tsx
2026-09-03 10:05:34 +00:00

28 lines
1.1 KiB
TypeScript

// Module ID: 10233
// Function ID: 10234
// Name: HighlightText
// Dependencies: [19, 673, 21, 4478, 4326, 709, 1296, 2]
// Exports: default
// Module 10233 (HighlightText)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 709 */;
import Button from "Button" /* 1296 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4478 */;
import hexToRgba from "hexToRgba" /* 4326 */;
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 });
};