Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add default value for icon prop in Avatar #2554

Open
LeandroTorresSicilia opened this issue Dec 2, 2022 · 0 comments
Open

fix: add default value for icon prop in Avatar #2554

LeandroTorresSicilia opened this issue Dec 2, 2022 · 0 comments

Comments

@LeandroTorresSicilia
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant