Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
21 lines
653 B
TypeScript
21 lines
653 B
TypeScript
// Module ID: 9545
|
|
// Function ID: 9546
|
|
// Name: InAppNotificationActionCreators
|
|
// Dependencies: [573, 2]
|
|
|
|
// Module 9545 (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" });
|
|
});
|
|
}
|
|
};
|