decord/source/modules/toast/native/ToastActionCreators.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

20 lines
596 B
TypeScript

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