decord/source/modules/search/native/components/HighlightText.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

28 lines
1 KiB
TypeScript

// Module ID: 10264
// Function ID: 10265
// Name: HighlightText
// Dependencies: [19, 1074, 21, 4638, 4487, 576, 1177, 2]
// Exports: default
// Module 10264 (HighlightText)
import nativeDefault from "native" /* 576 */;
import native from "native" /* 1177 */;
import noop from "module_19" /* 19 */;
require = fn;
const jsx = fn(21).jsx;
const createStyles = fn(4638);
const obj2 = { text: null };
const obj3 = { fontFamily: fn(1074).Fonts.PRIMARY_BOLD, backgroundColor: null, color: null };
const ColorUtils = fn(4487);
obj3.backgroundColor = ColorUtils.hexOpacityToRgba(nativeDefault.unsafe_rawColors.YELLOW_300, 0.3);
obj3.color = nativeDefault.colors.TEXT_STRONG;
obj2.text = obj3;
let closure_3 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/search/native/components/HighlightText.tsx");
export default function HighlightText(children) {
const tmp = closure_3();
return jsx(native.LegacyText, { style: closure_3().text, children: children.children });
};