decord/source/modules/toast/native/ToastActionCreators.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

20 lines
596 B
TypeScript

// Module ID: 4336
// Function ID: 4337
// Name: ToastActionCreators
// Dependencies: [573, 2]
// Module 4336 (ToastActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/toast/native/ToastActionCreators.tsx");
export default {
open(toastProps) {
importDefault = toastProps;
DispatcherDefault.wait(() => DispatcherDefault.dispatch({ type: "TOAST_OPEN", toastProps }));
},
close() {
DispatcherDefault.wait(() => DispatcherDefault.dispatch({ type: "TOAST_CLOSE" }));
}
};