feat(Avatar): handle icon default from app.config.ts

This commit is contained in:
Benjamin Canac
2023-08-04 15:26:11 +02:00
parent 1c00a366c2
commit 55daed0e5a
3 changed files with 3 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ If there is an error loading the `src` of the avatar or `src` is null / false a
#### 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`.
You can use the `icon` prop to display an icon on top of the background or globally in `ui.avatar.default.icon`. Defaults to `null`.
::component-card
---