-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: avatarChanges related to the avatar.Changes related to the avatar.
Description
I use Avatar component two diffrent type: User and Group avatar.
Group avatar set className no src.
data.imgSrc ? (
<Avatar src={data.imgSrc} />
) : (
<Avatar className="foo" />
)Solution:
data.imgSrc ? (
<Avatar src={data.imgSrc} />
) : (
<Avatar alt= " " src=" " className="foo" />
)Why extra attribute and space?
| Tech | Version |
|---|---|
| Material-UI | v4.8.3 |
Metadata
Metadata
Assignees
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: avatarChanges related to the avatar.Changes related to the avatar.