decord/source/modules/toast/native/ToastActionCreators.tsx
2026-08-25 06:04:03 +00:00

24 lines
637 B
TypeScript

// Module ID: 4098
// Function ID: 4099
// Name: dispatcher
// Dependencies: [709, 2]
// Module 4098 (dispatcher)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 709 */;
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" }));
}
};