decord/source/design/void/LegacyText/native/useLegacyTextMigrationHighlight.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

26 lines
982 B
TypeScript

// Module ID: 8736
// Function ID: 8737
// Name: useLegacyTextMigrationHighlight
// Dependencies: [4635, 4636, 576, 504, 2]
// Exports: useLegacyTextMigrationHighlight
// Module 8736 (useLegacyTextMigrationHighlight)
import nativeDefault from "native" /* 576 */;
import DevSettingsStore from "DevSettingsStore" /* 4635 */;
const require = fn;
const createStyles = fn(4636);
const obj2 = { highlight: { borderWidth: 1, borderColor: nativeDefault.colors.STATUS_DANGER } };
let closure_3 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("design/void/LegacyText/native/useLegacyTextMigrationHighlight.tsx");
export const useLegacyTextMigrationHighlight = function useLegacyTextMigrationHighlight() {
const tmp = closure_3();
const items = [DevSettingsStore];
let highlight = null;
if (obj.useStateFromStores(items, () => DevSettingsStore.get("highlight_mana_text"))) {
highlight = tmp.highlight;
}
return highlight;
};