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

26 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 9687
// Function ID: 9688
2026-07-20 16:05:17 +00:00
// Name: HighlightText
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 676, 21, 4255, 4099, 712, 1297, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 9687 (HighlightText)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { jsx } from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
import hexToRgba from "hexToRgba";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
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);
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/search/native/components/HighlightText.tsx");
2026-07-20 16:05:17 +00:00
export default function HighlightText(children) {
2026-07-29 08:29:29 +00:00
const tmp = createCacheKey();
return jsx(require(1297) /* Button */.LegacyText, { style: createCacheKey().text, children: children.children });
2026-07-20 16:05:17 +00:00
};