24 lines
1.2 KiB
TypeScript
24 lines
1.2 KiB
TypeScript
// Module ID: 14705
|
|
// Function ID: 14706
|
|
// Name: openActivityShareLinkModal
|
|
// Dependencies: [4588, 4925, 14706, 1897, 2]
|
|
// Exports: closeActivityShareLinkModal, openActivityShareLinkModal
|
|
|
|
// Module 14705 (openActivityShareLinkModal)
|
|
import asyncRequireImpl from "asyncRequireImpl" /* 1897 */;
|
|
import ChatInputUtils from "ChatInputUtils" /* 4588 */;
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4925 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const ACTIVITY_SHARE_LINK_MODAL = "ACTIVITY_SHARE_LINK_MODAL";
|
|
const result = size.fileFinishedImporting("modules/activities/openActivityShareLinkModal.native.tsx");
|
|
|
|
export const ACTIVITY_SHARE_LINK_MODAL = "ACTIVITY_SHARE_LINK_MODAL";
|
|
export const openActivityShareLinkModal = function openActivityShareLinkModal(arg0) {
|
|
({ applicationId, customId, linkId, message, onShare } = arg0);
|
|
ChatInputUtils.dismissKeyboard();
|
|
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(14706, dependencyMap.paths), { applicationId, customId, linkId, message, onShare }, ACTIVITY_SHARE_LINK_MODAL, { presentation: "modal" });
|
|
};
|
|
export const closeActivityShareLinkModal = function closeActivityShareLinkModal() {
|
|
ModalActionCreatorsDefault.popWithKey(ACTIVITY_SHARE_LINK_MODAL);
|
|
};
|