decord/alpha/source/modules/icymi/useICYMITabBadge.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

23 lines
721 B
TypeScript

// Module ID: 16818
// Function ID: 16819
// Name: useICYMITabBadge
// Dependencies: [8685, 504, 2]
// Exports: default, icymiTabBadgeShown
// Module 16818 (useICYMITabBadge)
import initialize from "initialize" /* 504 */;
import ICYMIStore from "ICYMIStore" /* 8685 */;
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/icymi/useICYMITabBadge.tsx");
export default function useICYMITabBadge() {
const obj = { value: 0, showDot: null };
const items = [ICYMIStore];
obj.showDot = initialize.useStateFromStores(items, () => ICYMIStore.hasNewContent(), []);
return obj;
};
export const icymiTabBadgeShown = function icymiTabBadgeShown() {
return ICYMIStore.hasNewContent();
};