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

28 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 8155
// Function ID: 8156
2026-07-23 10:11:24 +00:00
// Name: useLegacyTextMigrationHighlight
2026-08-24 06:08:38 +00:00
// Dependencies: [4742, 4668, 712, 589, 2]
2026-07-23 10:11:24 +00:00
// Exports: useLegacyTextMigrationHighlight
2026-08-24 06:08:38 +00:00
// Module 8155 (useLegacyTextMigrationHighlight)
import ThemesDefault from "Themes" /* 712 */;
import closure_2 from "getUserAgnosticState" /* 4742 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
createCacheKey = { highlight: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { borderWidth: 1, borderColor: ThemesDefault.colors.STATUS_DANGER };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_3 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("design/void/LegacyText/native/useLegacyTextMigrationHighlight.tsx");
2026-07-23 10:11:24 +00:00
export const useLegacyTextMigrationHighlight = function useLegacyTextMigrationHighlight() {
2026-08-24 06:08:38 +00:00
const tmp = callback();
const items = [closure_2];
2026-07-23 10:11:24 +00:00
let highlight = null;
2026-08-24 06:08:38 +00:00
if (obj.useStateFromStores(items, () => closure_2.get("highlight_mana_text"))) {
2026-07-23 10:11:24 +00:00
highlight = tmp.highlight;
}
return highlight;
};