From af84f8d0ae00a4ae74d9b6d73a322dac5fe27136 Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Sat, 7 Dec 2019 21:52:27 +0000 Subject: [PATCH] [docs] Improve Avatar fallback description --- docs/src/pages/components/avatars/avatars.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/pages/components/avatars/avatars.md b/docs/src/pages/components/avatars/avatars.md index a3cfa8fc434772..15ebd30c7192a3 100644 --- a/docs/src/pages/components/avatars/avatars.md +++ b/docs/src/pages/components/avatars/avatars.md @@ -9,13 +9,13 @@ components: Avatar ## Image avatars -Image avatars can be created by passing standard `img` props `src` or `srcSet` into the component. +Image avatars can be created by passing standard `img` props `src` or `srcSet` to the component. {{"demo": "pages/components/avatars/ImageAvatars.js"}} ## Letter avatars -Avatars containing simple characters can be created by passing your string as `children`. +Avatars containing simple characters can be created by passing a string as `children`. {{"demo": "pages/components/avatars/LetterAvatars.js"}} @@ -33,7 +33,7 @@ If you need square or rounded avatars, use the `variant` prop. ## Fallbacks -The component fallbacks if there is an error loading the avatar image, in this order, to: +If there is an error loading the avatar image, the component falls back to an alternative in the following order: - the provided children - the first letter of tha `alt` text