Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
35 lines
1.5 KiB
TypeScript
35 lines
1.5 KiB
TypeScript
// Module ID: 10468
|
|
// Function ID: 10469
|
|
// Name: EmojiOptionsActionSheet
|
|
// Dependencies: [19, 21, 7292, 4334, 4603, 7300, 5768, 5686, 4579, 1114, 2]
|
|
// Exports: default
|
|
|
|
// Module 10468 (EmojiOptionsActionSheet)
|
|
import ToastUtils from "ToastUtils" /* 4334 */;
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4603 */;
|
|
import ClipboardUtils from "ClipboardUtils" /* 7292 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsx = fn(21).jsx;
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/messages/native/emoji/EmojiOptionsActionSheet.tsx");
|
|
|
|
export default function EmojiOptionsActionSheet(emojiSrc) {
|
|
emojiSrc = emojiSrc.emojiSrc;
|
|
const items = [emojiSrc];
|
|
const callback = noop.useCallback(() => {
|
|
ClipboardUtils.copy(emojiSrc);
|
|
const result = ToastUtils.presentCopiedToClipboard();
|
|
ActionSheetActionCreatorsDefault.hideActionSheet();
|
|
}, items);
|
|
let obj = { children: null };
|
|
let obj2 = { hasIcons: true, children: null };
|
|
const obj3 = { icon: jsx(emojiSrc(4579).LinkIcon, {}), label: null, onPress: null };
|
|
const intl = emojiSrc(1114).intl;
|
|
obj3.label = intl.string(emojiSrc(1114).t.cIoudn);
|
|
obj3.onPress = callback;
|
|
obj2.children = jsx(emojiSrc(5686).TableRow, { icon: jsx(emojiSrc(4579).LinkIcon, {}), label: null, onPress: null });
|
|
obj.children = jsx(emojiSrc(5768).TableRowGroup, { hasIcons: true, children: null });
|
|
return jsx(emojiSrc(7300).ActionSheet, { children: null });
|
|
};
|