Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
21 lines
640 B
TypeScript
21 lines
640 B
TypeScript
// Module ID: 17277
|
|
// Function ID: 17278
|
|
// Name: NoticeActionCreators
|
|
// Dependencies: [577, 2]
|
|
|
|
// Module 17277 (NoticeActionCreators)
|
|
import DispatcherDefault from "Dispatcher" /* 577 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("actions/NoticeActionCreators.tsx");
|
|
|
|
export default {
|
|
show(type, message, buttonText, callback, id) {
|
|
const obj2 = { type: "NOTICE_SHOW", notice: { id, type, message, buttonText, callback } };
|
|
DispatcherDefault.dispatch(obj2);
|
|
},
|
|
dismiss(arg0) {
|
|
const merged = Object.assign(arg0);
|
|
DispatcherDefault.dispatch({ type: "NOTICE_DISMISS" });
|
|
}
|
|
};
|