decord/source/actions/NoticeActionCreators.tsx
2026-08-05 07:35:12 +00:00

21 lines
585 B
TypeScript

// Module ID: 15733
// Function ID: 15734
// Name: dispatcher
// Dependencies: [709, 2]
// Module 15733 (dispatcher)
const result = require("set").fileFinishedImporting("actions/NoticeActionCreators.tsx");
export default {
show(type, message, buttonText, callback, id) {
let obj = importDefault(709);
obj = { id, type, message, buttonText, callback };
obj.dispatch({ type: "NOTICE_SHOW", notice: obj });
},
dismiss(arg0) {
let obj = importDefault(709);
obj = { type: "NOTICE_DISMISS" };
const merged = Object.assign(arg0);
obj.dispatch(obj);
}
};