decord/beta/source/components_native/common/Notifications.tsx

29 lines
1 KiB
TypeScript
Raw Normal View History

// Module ID: 9538
// Function ID: 9539
2026-10-01 14:13:23 +00:00
// Name: Notifications
// Dependencies: [19, 9539, 21, 504, 9564, 2]
// Exports: default
2026-10-01 14:13:23 +00:00
// Module 9538 (Notifications)
import Fragment from "Fragment" /* 21 */;
import get_initialized from "get initialized" /* 504 */;
import InAppNotificationContainerDefault from "InAppNotificationContainer" /* 9564 */;
2026-10-01 14:13:23 +00:00
import react from "react" /* 19 */;
import InAppNotificationStore from "InAppNotificationStore" /* 9539 */;
2026-10-01 14:13:23 +00:00
import size from "module_2" /* 2 */;
2026-10-01 14:13:23 +00:00
const jsx = Fragment.jsx;
const result = size.fileFinishedImporting("components_native/common/Notifications.tsx");
export default function Notifications() {
2026-10-01 14:13:23 +00:00
let currentNotification;
const items = [InAppNotificationStore];
2026-10-01 14:13:23 +00:00
const obj = get_initialized;
const stateFromStores = obj.useStateFromStores(items, () => currentNotification.getCurrentNotification());
let tmp3 = null;
if (null != stateFromStores) {
tmp3 = jsx(InAppNotificationContainerDefault, { notification: stateFromStores }, stateFromStores.key);
}
return tmp3;
};