21 lines
585 B
TypeScript
21 lines
585 B
TypeScript
// Module ID: 15955
|
|
// Function ID: 15956
|
|
// Name: dispatcher
|
|
// Dependencies: [709, 2]
|
|
|
|
// Module 15955 (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);
|
|
}
|
|
};
|