From f815fb5db46d116768728a514f59b3dfda0f41a9 Mon Sep 17 00:00:00 2001 From: rubenmoya Date: Mon, 18 Sep 2017 20:02:40 +0200 Subject: [PATCH] Add title to image --- components/avatar/Avatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/avatar/Avatar.js b/components/avatar/Avatar.js index 9d9dd944..84e6ea5c 100644 --- a/components/avatar/Avatar.js +++ b/components/avatar/Avatar.js @@ -10,7 +10,7 @@ const factory = (FontIcon) => {
{children} {cover && typeof image === 'string' && } - {!cover && (typeof image === 'string' ? {alt} : image)} + {!cover && (typeof image === 'string' ? {alt} : image)} {typeof icon === 'string' ? : icon} {title ? {title[0]} : null}