decord/beta/source/actions/native/InAppNotificationActionCreators.tsx

22 lines
656 B
TypeScript
Raw Normal View History

// Module ID: 10392
// Function ID: 10393
// Name: InAppNotificationActionCreators
// Dependencies: [573, 2]
// Module 10392 (InAppNotificationActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("actions/native/InAppNotificationActionCreators.tsx");
export default {
enqueueNotification(buildResult) {
DispatcherDefault.dispatch({ type: "ENQUEUE_IN_APP_NOTIFICATION", notification: buildResult });
},
clearNotification() {
DispatcherDefault.wait(() => {
DispatcherDefault.dispatch({ type: "CLEAR_IN_APP_NOTIFICATION" });
});
}
};