decord/source/modules/search/native/components/HighlightText.tsx
2026-08-15 05:55:55 +00:00

25 lines
1 KiB
TypeScript

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