From db9ac5778f2e0ce2c57c48973a6e219cb673b3ea Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 10 Dec 2024 14:42:27 +0100 Subject: [PATCH] docs(avatar): improve usage --- docs/content/3.components/avatar.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/content/3.components/avatar.md b/docs/content/3.components/avatar.md index 5d5702d1..79d69008 100644 --- a/docs/content/3.components/avatar.md +++ b/docs/content/3.components/avatar.md @@ -11,18 +11,16 @@ links: ## Usage -::tip -The Avatar uses the `NuxtImg` component when [`@nuxt/image`](https://github.com/nuxt/image) is installed, falling back to `img` otherwise. +The Avatar uses the `` component when [`@nuxt/image`](https://github.com/nuxt/image) is installed, falling back to `img` otherwise. + +::note +You can pass any property from the HTML `` element such as `alt`, `loading`, etc. :: ### Src Use the `src` prop to set the image URL. -::note -You can pass any property from the HTML `` element such as `alt`, `loading`, etc. -:: - ::component-code --- props: