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

add HTML data attribute to avatar wrapper #214

Open
theMasix opened this issue Sep 16, 2020 · 1 comment
Open

add HTML data attribute to avatar wrapper #214

theMasix opened this issue Sep 16, 2020 · 1 comment

Comments

@theMasix
Copy link

Hello. I wanna add HTML data attribute to the avatar wrapper that has sb-avatar class. How could I do this? Is there any way to pass data attribute to Avatar component?

@JorgenEvens
Copy link
Member

JorgenEvens commented Sep 17, 2020

Related to #212.

This is not possible currently, but as discussed in the mentioned pull request I'll be separating the rendering of the Avatar from the retrieval of avatar pictures which should also make your use-case possible.

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

No branches or pull requests

2 participants