diff --git a/.changeset/young-dots-tell.md b/.changeset/young-dots-tell.md new file mode 100644 index 0000000..42d31a9 --- /dev/null +++ b/.changeset/young-dots-tell.md @@ -0,0 +1,6 @@ +--- +"astro-icon": patch +"www": patch +--- + +Replaces deprecated `xlink:href` attribute with standard `href` attribute diff --git a/packages/core/components/Icon.astro b/packages/core/components/Icon.astro index 6b2f881..6c61882 100644 --- a/packages/core/components/Icon.astro +++ b/packages/core/components/Icon.astro @@ -130,7 +130,7 @@ if (includeSymbol) { ) : ( {includeSymbol && } - + ) } diff --git a/packages/www/src/content/docs/guides/components.mdx b/packages/www/src/content/docs/guides/components.mdx index a7af98b..d6f6e1a 100644 --- a/packages/www/src/content/docs/guides/components.mdx +++ b/packages/www/src/content/docs/guides/components.mdx @@ -56,13 +56,13 @@ import { Icon } from 'astro-icon/components' - + - + ```