26 lines
1.2 KiB
TypeScript
26 lines
1.2 KiB
TypeScript
// Module ID: 14378
|
|
// Function ID: 14379
|
|
// Name: ACTIVITY_SHARE_LINK_MODAL
|
|
// Dependencies: [4340, 4724, 14379, 2008, 2]
|
|
// Exports: closeActivityShareLinkModal, openActivityShareLinkModal
|
|
|
|
// Module 14378 (ACTIVITY_SHARE_LINK_MODAL)
|
|
import set from "set" /* 2 */;
|
|
import asyncRequireImpl from "asyncRequireImpl" /* 2008 */;
|
|
import getBestActiveInput from "getBestActiveInput" /* 4340 */;
|
|
import _modDef4724 from "module_4724" /* 4724 */;
|
|
|
|
const ACTIVITY_SHARE_LINK_MODAL = "ACTIVITY_SHARE_LINK_MODAL";
|
|
const result = set.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);
|
|
let obj = getBestActiveInput;
|
|
obj.dismissKeyboard();
|
|
obj = { applicationId, customId, linkId, message, onShare };
|
|
_modDef4724.pushLazy(asyncRequireImpl(14379, dependencyMap.paths), obj, ACTIVITY_SHARE_LINK_MODAL, { presentation: "modal" });
|
|
};
|
|
export const closeActivityShareLinkModal = function closeActivityShareLinkModal() {
|
|
_modDef4724.popWithKey(ACTIVITY_SHARE_LINK_MODAL);
|
|
};
|