decord/source/modules/debug/native/ShareLogsButton.tsx

32 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 15782
// Function ID: 15783
// Name: ShareLogsButton
// Dependencies: [19, 21, 5292, 1115, 8593, 7, 9291, 2]
2026-07-20 16:05:17 +00:00
// Module 15782 (ShareLogsButton)
import LogAggregator from "LogAggregator" /* 7 */;
import util from "util" /* 1115 */;
import Pressables from "Pressables" /* 5292 */;
import showShareActionSheet from "showShareActionSheet" /* 8593 */;
import ShareIcon from "ShareIcon" /* 9291 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
require = fn;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("modules/debug/native/ShareLogsButton.tsx");
export default noop.memo(function ShareLogsButton() {
2026-07-29 08:29:29 +00:00
let obj = { accessibilityLabel: null, onPress: null, children: null };
const intl = util.intl;
obj.accessibilityLabel = intl.string(util.t["Aw+09z"]);
obj.onPress = function onPress() {
const obj2 = { message: null };
const obj = showShareActionSheet;
obj2.message = LogAggregator.stringify();
return obj.showShareActionSheet(obj2, "Debug Logs");
2026-07-20 16:05:17 +00:00
};
obj.children = jsx(ShareIcon.ShareIcon, {});
return jsx(Pressables.PressableOpacity, { accessibilityLabel: null, onPress: null, children: null });
2026-07-20 16:05:17 +00:00
});