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

22 lines
567 B
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 4062
// Function ID: 4063
2026-07-23 10:11:24 +00:00
// Name: dispatcher
2026-07-29 08:29:29 +00:00
// Dependencies: [709, 2]
2026-07-20 16:05:17 +00:00
2026-08-12 06:57:52 +00:00
// Module 4062 (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-29 08:29:29 +00:00
importDefault(709).wait(() => {
2026-07-23 10:11:24 +00:00
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-29 08:29:29 +00:00
importDefault(709).wait(() => callback(table[0]).dispatch({ type: "TOAST_CLOSE" }));
2026-07-20 16:05:17 +00:00
}
};