add radius=full to image and fix avatar

This commit is contained in:
Pavel Prichodko 2023-01-23 15:29:20 +01:00
parent 185b0aa053
commit 0ded6bc3a4
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
2 changed files with 4 additions and 0 deletions

View File

@ -179,6 +179,7 @@ const Avatar = (props: Props) => {
height={size} height={size}
onLoad={() => setStatus('loaded')} onLoad={() => setStatus('loaded')}
onError={() => setStatus('error')} onError={() => setStatus('error')}
radius="full"
/> />
</Stack> </Stack>

View File

@ -27,6 +27,9 @@ const Base = styled(RNImage, {
12: { 12: {
borderRadius: 12, borderRadius: 12,
}, },
full: {
borderRadius: 9999,
},
}, },
}, },
}) })