decord/source/modules/toast/native/ToastActionCreators.tsx

22 lines
571 B
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 3832
2026-07-27 11:26:19 +00:00
// Function ID: 31999
2026-07-23 10:11:24 +00:00
// Name: dispatcher
// Dependencies: [686, 2]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 3832 (dispatcher)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/toast/native/ToastActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export default {
open(arg0) {
const importDefault = arg0;
2026-07-23 10:11:24 +00:00
importDefault(686).wait(() => {
let obj = callback(outer1_1[0]);
obj = { type: "TOAST_OPEN", toastProps: callback };
2026-07-20 16:05:17 +00:00
return obj.dispatch(obj);
});
},
close() {
2026-07-23 10:11:24 +00:00
importDefault(686).wait(() => outer1_0(outer1_1[0]).dispatch({ type: "TOAST_CLOSE" }));
2026-07-20 16:05:17 +00:00
}
};