decord/source/components_native/common/Notifications.tsx

30 lines
977 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 10051
// Function ID: 10052
2026-07-20 16:05:17 +00:00
// Name: Notifications
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 10052, 21, 589, 10084, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 10051 (Notifications)
import noopAll from "noop" /* 19 */;
import initialize from "initialize" /* 589 */;
import NotificationWrapperDefault from "NotificationWrapper" /* 10084 */;
import closure_3 from "handleAlertMessage" /* 10052 */;
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
};