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

21 lines
596 B
TypeScript
Raw Normal View History

// Module ID: 4305
// Function ID: 4306
// Name: ToastActionCreators
// Dependencies: [573, 2]
2026-07-20 16:05:17 +00:00
// Module 4305 (ToastActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/toast/native/ToastActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export default {
open(toastProps) {
importDefault = toastProps;
DispatcherDefault.wait(() => DispatcherDefault.dispatch({ type: "TOAST_OPEN", toastProps }));
2026-07-20 16:05:17 +00:00
},
close() {
DispatcherDefault.wait(() => DispatcherDefault.dispatch({ type: "TOAST_CLOSE" }));
2026-07-20 16:05:17 +00:00
}
};