From 4c15101568f14828cba5a0e9c7638dab1a1d43de Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 12 Mar 2024 14:33:05 +0100 Subject: [PATCH] chore: actually use the background Signed-off-by: blam --- packages/core-components/src/components/Avatar/Avatar.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core-components/src/components/Avatar/Avatar.tsx b/packages/core-components/src/components/Avatar/Avatar.tsx index 2567e9c20b..564fa951f0 100644 --- a/packages/core-components/src/components/Avatar/Avatar.tsx +++ b/packages/core-components/src/components/Avatar/Avatar.tsx @@ -29,6 +29,8 @@ const useStyles = makeStyles( width: '4rem', height: '4rem', color: theme.palette.common.white, + backgroundColor: (props: { backgroundColor?: string }) => + props.backgroundColor, }, avatarText: { fontWeight: theme.typography.fontWeightBold,