27 lines
1 KiB
TypeScript
27 lines
1 KiB
TypeScript
// Module ID: 8401
|
|
// Function ID: 8402
|
|
// Name: useLegacyTextMigrationHighlight
|
|
// Dependencies: [4477, 4478, 709, 586, 2]
|
|
// Exports: useLegacyTextMigrationHighlight
|
|
|
|
// Module 8401 (useLegacyTextMigrationHighlight)
|
|
import ThemesDefault from "Themes" /* 709 */;
|
|
import closure_2 from "getUserAgnosticState" /* 4477 */;
|
|
import createCacheKey from "createCacheKey" /* 4478 */;
|
|
|
|
const require = arg1;
|
|
createCacheKey = { highlight: null };
|
|
createCacheKey = { borderWidth: 1, borderColor: ThemesDefault.colors.STATUS_DANGER };
|
|
createCacheKey[0] = createCacheKey;
|
|
let closure_3 = createCacheKey.createStyles(createCacheKey);
|
|
const result = require("set").fileFinishedImporting("design/void/LegacyText/native/useLegacyTextMigrationHighlight.tsx");
|
|
|
|
export const useLegacyTextMigrationHighlight = function useLegacyTextMigrationHighlight() {
|
|
const tmp = callback();
|
|
const items = [closure_2];
|
|
let highlight = null;
|
|
if (obj.useStateFromStores(items, () => closure_2.get("highlight_mana_text"))) {
|
|
highlight = tmp.highlight;
|
|
}
|
|
return highlight;
|
|
};
|