Skip to content

Commit

Permalink
[docs] Improve Avatar fallback description
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookes committed Dec 7, 2019
1 parent a973b2f commit af84f8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/pages/components/avatars/avatars.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}

Expand All @@ -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
Expand Down

0 comments on commit af84f8d

Please sign in to comment.