decord/source/modules/toast/native/ToastActionCreators.tsx
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

20 lines
596 B
TypeScript

// Module ID: 4305
// Function ID: 4306
// Name: ToastActionCreators
// Dependencies: [573, 2]
// Module 4305 (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" }));
}
};