From 4f7724dbaf5a5f3d575458c4678950a468e699b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sun, 31 Jul 2022 22:07:08 +0200 Subject: [PATCH] Fix prop order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/Avatar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avatar.tsx b/src/Avatar.tsx index 07c7f877..a4aa826d 100644 --- a/src/Avatar.tsx +++ b/src/Avatar.tsx @@ -49,10 +49,10 @@ const resolveAvatarSrc = (client: MatrixClient, src: string, size: number) => interface Props extends React.HTMLAttributes { bgKey?: string; src?: string; - fallback: string; size?: Size | number; className?: string; style?: CSSProperties; + fallback: string; } export const Avatar: React.FC = ({