docs(Avatar): add edge badge on icon

This commit is contained in:
Benjamin Canac
2023-08-04 11:35:32 +02:00
parent df3b2028ed
commit 2d6badd4b0

View File

@@ -53,7 +53,7 @@ baseProps:
If there is an error loading the `src` of the avatar or `src` is null / false a background placeholder will be displayed, customizable in `ui.avatar.background`.
#### Icon
#### Icon :u-badge{label="Edge" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
You can use the `icon` prop to display an icon on top of the background, customizable in `ui.avatar.icon`.