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

22 lines
571 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 3831
2026-07-24 07:16:23 +00:00
// Function ID: 31987
2026-07-23 10:11:24 +00:00
// Name: dispatcher
// Dependencies: [686, 2]
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
// Module 3831 (dispatcher)
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
}
};