24 lines
434 B
TypeScript
24 lines
434 B
TypeScript
// Metro module 15635 (f15636).
|
|
import Dispatcher from "../Dispatcher";
|
|
const r13 = {
|
|
show: (a0, a1, a2, a3, a4) => {
|
|
Dispatcher.dispatch({
|
|
type: "NOTICE_SHOW",
|
|
notice: {
|
|
id: a4,
|
|
type: a0,
|
|
message: a1,
|
|
buttonText: a2,
|
|
callback: a3
|
|
}
|
|
});
|
|
},
|
|
dismiss: (a0) => {
|
|
Dispatcher.dispatch({
|
|
type: "NOTICE_DISMISS",
|
|
...a0
|
|
});
|
|
}
|
|
};
|
|
export default r13;
|