decord/source/modules/toast/native/ToastActionCreators.tsx
2026-09-02 09:53:35 +00:00

24 lines
637 B
TypeScript

// Module ID: 4194
// Function ID: 4195
// Name: dispatcher
// Dependencies: [706, 2]
// Module 4194 (dispatcher)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 706 */;
const result = set.fileFinishedImporting("modules/toast/native/ToastActionCreators.tsx");
export default {
open(arg0) {
importDefault = arg0;
dispatcherDefault.wait(() => {
let obj = callback(closure_1_1[0]);
obj = { type: "TOAST_OPEN", toastProps: callback };
return obj.dispatch(obj);
});
},
close() {
dispatcherDefault.wait(() => callback(table[0]).dispatch({ type: "TOAST_CLOSE" }));
}
};