decord/source/components_native/common/Notifications.tsx

30 lines
977 B
TypeScript
Raw Normal View History

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