// Module ID: 7308 // Function ID: 7309 // Name: RoleIcon // Dependencies: [19, 17, 21, 1150, 4632, 2] // Exports: default // Module 7308 (RoleIcon) import Text_Text from "Text/Text" /* 4632 */; import noop from "module_19" /* 19 */; require = fn; const Image = fn(17).Image; const jsx = fn(21).jsx; const PlatformUtils = fn(1150); const size = fn(2); const result = size.fileFinishedImporting("modules/roles/native/RoleIcon.tsx"); export default function RoleIcon(arg0) { ({ src, unicodeEmoji, size } = arg0); if (size === undefined) { size = 20; } const size1 = { height: size, width: size }; if (null != src) { const obj2 = { resizeMode: "contain", source: null, style: null }; const obj3 = { uri: src }; obj2.source = obj3; obj2.style = size1; let tmp = ; } else { tmp = null; if (null != unicodeEmoji) { const obj4 = { allowFontScaling: false, color: "none", style: null, variant: "text-lg/normal", children: null }; const items = [size1, obj]; obj4.style = items; obj4.children = unicodeEmoji.surrogates; tmp = jsx(Text_Text.Text, { allowFontScaling: false, color: "none", style: null, variant: "text-lg/normal", children: null }); } } return tmp; };