From 0ded6bc3a4a161b10d4a469577a3fff31f2d2057 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 23 Jan 2023 15:29:20 +0100 Subject: [PATCH] add radius=full to image and fix avatar --- packages/components/src/avatar/avatar.tsx | 1 + packages/components/src/image/image.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/packages/components/src/avatar/avatar.tsx b/packages/components/src/avatar/avatar.tsx index 2d193e8e..2fee5468 100644 --- a/packages/components/src/avatar/avatar.tsx +++ b/packages/components/src/avatar/avatar.tsx @@ -179,6 +179,7 @@ const Avatar = (props: Props) => { height={size} onLoad={() => setStatus('loaded')} onError={() => setStatus('error')} + radius="full" /> diff --git a/packages/components/src/image/image.tsx b/packages/components/src/image/image.tsx index b7df4bf9..c6e1122a 100644 --- a/packages/components/src/image/image.tsx +++ b/packages/components/src/image/image.tsx @@ -27,6 +27,9 @@ const Base = styled(RNImage, { 12: { borderRadius: 12, }, + full: { + borderRadius: 9999, + }, }, }, })