decord/source/modules/search/native/components/HighlightText.tsx
2026-08-05 07:35:12 +00:00

25 lines
1 KiB
TypeScript

// Module ID: 9687
// Function ID: 9688
// Name: HighlightText
// Dependencies: [19, 676, 21, 4255, 4099, 712, 1297, 2]
// Exports: default
// Module 9687 (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 });
};