decord/source/components_native/common/Notifications.tsx

30 lines
970 B
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 9906
// Function ID: 9907
2026-07-20 16:05:17 +00:00
// Name: Notifications
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 9907, 21, 589, 9940, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 9906 (Notifications)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import initialize from "initialize" /* 589 */;
2026-08-25 06:04:03 +00:00
import NotificationWrapperDefault from "NotificationWrapper" /* 9940 */;
import closure_3 from "handleAlertMessage" /* 9907 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
const result = require("set").fileFinishedImporting("components_native/common/Notifications.tsx");
2026-07-20 16:05:17 +00:00
export default function Notifications() {
2026-08-24 06:08:38 +00:00
let obj = initialize;
const items = [closure_3];
2026-07-29 08:29:29 +00:00
const stateFromStores = obj.useStateFromStores(items, () => currentNotification.getCurrentNotification());
let tmp3 = null;
2026-07-20 16:05:17 +00:00
if (null != stateFromStores) {
2026-07-29 08:29:29 +00:00
obj = { notification: null };
obj[0] = stateFromStores;
2026-08-24 06:08:38 +00:00
tmp3 = jsx(NotificationWrapperDefault, { notification: null }, stateFromStores.key);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return tmp3;
2026-07-20 16:05:17 +00:00
};