decord/source/components_native/common/Notifications.tsx

28 lines
1,009 B
TypeScript
Raw Normal View History

// Module ID: 10217
// Function ID: 10218
// Name: common/Notifications
// Dependencies: [19, 10218, 21, 504, 10243, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 10217 (common/Notifications)
import initialize from "initialize" /* 504 */;
import InAppNotificationContainerDefault from "InAppNotificationContainer" /* 10243 */;
import noop from "module_19" /* 19 */;
import InAppNotificationStore from "InAppNotificationStore" /* 10218 */;
2026-07-20 16:05:17 +00:00
require = fn;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("components_native/common/Notifications.tsx");
2026-07-20 16:05:17 +00:00
export default function Notifications() {
const items = [InAppNotificationStore];
const stateFromStores = initialize.useStateFromStores(items, () => currentNotification.getCurrentNotification());
2026-07-29 08:29:29 +00:00
let tmp3 = null;
2026-07-20 16:05:17 +00:00
if (null != stateFromStores) {
const obj2 = { notification: stateFromStores };
tmp3 = jsx(InAppNotificationContainerDefault, { notification: stateFromStores }, 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
};