react-rainbow icon indicating copy to clipboard operation
react-rainbow copied to clipboard

fix: add default value for icon prop in Avatar

Open LeandroTorresSicilia opened this issue 2 years ago • 0 comments

When using the avatar component you need to pass icon prop to show a default avatar icon when there is no src and initials, then it will be useful to have a default fallback avatar icon, then if the user want to use another icon he can overwrite the icon prop.

LeandroTorresSicilia avatar Dec 02 '22 23:12 LeandroTorresSicilia