// Module ID: 14897 // Function ID: 14898 // Name: AppIcon // Dependencies: [19, 17, 7985, 21, 4668, 712, 4314, 1363, 2] // Exports: default // Module 14897 (AppIcon) import noopAll from "noop" /* 19 */; import ThemesDefault from "Themes" /* 712 */; import AccessibilityAnnouncer from "AccessibilityAnnouncer" /* 1363 */; import useThemeDefault from "useTheme" /* 4314 */; import get_ActivityIndicator from "get ActivityIndicator" /* 17 */; import { getIconById } from "items" /* 7985 */; import { jsx } from "jsxProd" /* 21 */; import createCacheKey from "createCacheKey" /* 4668 */; require = arg1; noopAll; ({ Image: c3, View: c4 } = get_ActivityIndicator); createCacheKey = { container: null, image: null }; createCacheKey = { overflow: "hidden", borderColor: ThemesDefault.colors.BACKGROUND_BASE_LOWEST }; createCacheKey[0] = createCacheKey; createCacheKey[1] = { resizeMode: "contain", height: "100%", width: "100%" }; let closure_7 = createCacheKey.createStyles(createCacheKey); const result = require("set").fileFinishedImporting("modules/app_icons/native/AppIcon.tsx"); export default function AppIcon(size) { let num = size.size; if (num === undefined) { num = 56; } const tmp = callback(); const tmp2 = useThemeDefault(); let obj = AccessibilityAnnouncer; let num2 = 1; if (obj.isThemeDark(tmp2)) { num2 = 0; } obj = { style: items, children: }; items = [tmp.container, { width: num, height: num, borderWidth: num2 }, size.style]; obj = { style: tmp.image, source: getIconById(size.id).iconSource }; return ; };