Closed ashwoodall closed 6 years ago
This is looking good!
Since we're temporarily unable to use Now, could you please do the following:
yarn dev
@martahj This is our beautiful Avatars demo page now.
Such a beautiful demo page. Look at that gradient behind 'hi'.
This PR adds the ability for a name prop to be passed to Avatar and creates initials if an image src is not defined. It handles passed first + last name, first (single) name, initials (2 chars), or no name prop.