decord/source/actions/native/InAppNotificationActionCreators.tsx
2026-07-22 07:54:56 +00:00

20 lines
584 B
TypeScript

// Module ID: 10223
// Function ID: 79006
// Dependencies: []
// Module 10223
const _module = require(dependencyMap[1]);
const result = _module.fileFinishedImporting("actions/native/InAppNotificationActionCreators.tsx");
export default {
enqueueNotification(notification) {
let obj = importDefault(dependencyMap[0]);
obj = { type: "ENQUEUE_IN_APP_NOTIFICATION", notification };
obj.dispatch(obj);
},
clearNotification() {
importDefault(dependencyMap[0]).wait(() => {
callback(closure_1[0]).dispatch({ type: "CLEAR_IN_APP_NOTIFICATION" });
});
}
};