decord/alpha/source/actions/NoticeActionCreators.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

21 lines
640 B
TypeScript

// Module ID: 16871
// Function ID: 16872
// Name: NoticeActionCreators
// Dependencies: [573, 2]
// Module 16871 (NoticeActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
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" });
}
};