decord/source/design/void/LegacyText/native/useLegacyTextMigrationHighlight.tsx
2026-07-27 11:26:19 +00:00

26 lines
1.2 KiB
TypeScript

// Module ID: 7611
// Function ID: 60837
// Name: useLegacyTextMigrationHighlight
// Dependencies: [4130, 4131, 689, 566, 2]
// Exports: useLegacyTextMigrationHighlight
// Module 7611 (useLegacyTextMigrationHighlight)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
const require = arg1;
_createForOfIteratorHelperLoose = {};
_createForOfIteratorHelperLoose = { borderWidth: 1, borderColor: require("_createForOfIteratorHelperLoose").colors.STATUS_DANGER };
_createForOfIteratorHelperLoose.highlight = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("design/void/LegacyText/native/useLegacyTextMigrationHighlight.tsx");
export const useLegacyTextMigrationHighlight = function useLegacyTextMigrationHighlight() {
const tmp = _createForOfIteratorHelperLoose();
const items = [_isNativeReflectConstruct];
let highlight = null;
if (obj.useStateFromStores(items, () => outer1_2.get("highlight_mana_text"))) {
highlight = tmp.highlight;
}
return highlight;
};