Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
20 lines
596 B
TypeScript
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" }));
|
|
}
|
|
};
|