add radius=full to image and fix avatar

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

View File

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

View File

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