decord/source/design/void/LegacyText/native/LegacyText.tsx

31 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 8645
// Function ID: 8646
// Name: LegacyText/LegacyText
// Dependencies: [19, 17, 1074, 21, 4574, 8646, 2]
2026-07-20 16:05:17 +00:00
// Module 8645 (LegacyText/LegacyText)
import useLegacyTextMigrationHighlight from "useLegacyTextMigrationHighlight" /* 8646 */;
import noop from "module_19" /* 19 */;
2026-07-20 16:05:17 +00:00
require = fn;
const Text = fn(17).Text;
const jsx = fn(21).jsx;
const createStyles = fn(4574);
let closure_4 = createStyles.createStyles({ text: { fontFamily: fn(1074).Fonts.PRIMARY_MEDIUM, includeFontPadding: false } });
const obj = { text: { fontFamily: fn(1074).Fonts.PRIMARY_MEDIUM, includeFontPadding: false } };
const size = fn(2);
const result = size.fileFinishedImporting("design/void/LegacyText/native/LegacyText.tsx");
export default noop.forwardRef((arg0, ref) => {
2026-07-20 16:05:17 +00:00
({ style, children } = arg0);
const merged = Object.assign(arg0, Object.assign({ style: 0, children: 0 }));
const tmp2 = closure_4();
const obj2 = { ref };
const legacyTextMigrationHighlight = useLegacyTextMigrationHighlight.useLegacyTextMigrationHighlight();
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
const items = [tmp2.text, style, legacyTextMigrationHighlight];
obj2.style = items;
obj2.children = children;
2026-07-23 10:11:24 +00:00
return <Text ref={arg1} />;
2026-07-20 16:05:17 +00:00
});