Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4941.js (118.4 MB)
35 lines
1.5 KiB
TypeScript
35 lines
1.5 KiB
TypeScript
// Module ID: 10663
|
|
// Function ID: 10664
|
|
// Name: StickerOptionsActionSheet
|
|
// Dependencies: [19, 21, 7429, 4453, 4723, 7437, 5899, 5817, 4698, 1115, 2]
|
|
// Exports: default
|
|
|
|
// Module 10663 (StickerOptionsActionSheet)
|
|
import ToastUtils from "ToastUtils" /* 4453 */;
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4723 */;
|
|
import ClipboardUtils from "ClipboardUtils" /* 7429 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsx = fn(21).jsx;
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/stickers/native/StickerOptionsActionSheet.tsx");
|
|
|
|
export default function StickerOptionsActionSheet(stickerUrl) {
|
|
stickerUrl = stickerUrl.stickerUrl;
|
|
const items = [stickerUrl];
|
|
const callback = noop.useCallback(() => {
|
|
ClipboardUtils.copy(stickerUrl);
|
|
const result = ToastUtils.presentCopiedToClipboard();
|
|
ActionSheetActionCreatorsDefault.hideActionSheet();
|
|
}, items);
|
|
let obj = { children: null };
|
|
let obj2 = { hasIcons: true, children: null };
|
|
const obj3 = { icon: jsx(stickerUrl(4698).LinkIcon, {}), label: null, onPress: null };
|
|
const intl = stickerUrl(1115).intl;
|
|
obj3.label = intl.string(stickerUrl(1115).t.B1ubHx);
|
|
obj3.onPress = callback;
|
|
obj2.children = jsx(stickerUrl(5817).TableRow, { icon: jsx(stickerUrl(4698).LinkIcon, {}), label: null, onPress: null });
|
|
obj.children = jsx(stickerUrl(5899).TableRowGroup, { hasIcons: true, children: null });
|
|
return jsx(stickerUrl(7437).ActionSheet, { children: null });
|
|
};
|