decord/source/modules/masked_link/MaskedLinkModalActionCreators.native.tsx

21 lines
761 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 12475
// Function ID: 12476
// Dependencies: [19, 21, 12476, 2008, 4663, 2]
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 12475
import useAlertStore from "useAlertStore" /* 4663 */;
import closure_2 from "noop" /* 19 */;
import { jsx } from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
const result = require("set").fileFinishedImporting("modules/masked_link/MaskedLinkModalActionCreators.native.tsx");
2026-07-20 16:05:17 +00:00
export default {
show(onCancel) {
onCancel = onCancel.onCancel;
({ url, trustUrl, onConfirm, isProtocol } = onCancel);
2026-07-29 08:29:29 +00:00
const lazyResult = React.lazy(() => callback(paths[3])(paths[2], paths.paths));
2026-08-24 06:08:38 +00:00
useAlertStore.openAlert("masked-link", <lazyResult url={url} trustUrl={trustUrl} onConfirm={onConfirm} onCancel={onCancel} isProtocol={isProtocol} />, onCancel);
2026-07-20 16:05:17 +00:00
}
};