decord/source/modules/search/native/components/HighlightText.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

28 lines
1 KiB
TypeScript

// Module ID: 10254
// Function ID: 10255
// Name: HighlightText
// Dependencies: [19, 1074, 21, 4636, 4486, 576, 1178, 2]
// Exports: default
// Module 10254 (HighlightText)
import nativeDefault from "native" /* 576 */;
import native from "native" /* 1178 */;
import noop from "module_19" /* 19 */;
require = fn;
const jsx = fn(21).jsx;
const createStyles = fn(4636);
const obj2 = { text: null };
const obj3 = { fontFamily: fn(1074).Fonts.PRIMARY_BOLD, backgroundColor: null, color: null };
const ColorUtils = fn(4486);
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 });
};