Skip to content

Commit

Permalink
docs(components): update usages in components guide
Browse files Browse the repository at this point in the history
  • Loading branch information
stramel authored Oct 22, 2024
1 parent 620a349 commit 4286405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/www/src/content/docs/guides/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ import { Icon } from 'astro-icon/components'
<!-- First usage generates the following HTML -->
<svg data-icon="logo">
<symbol id="ai:uniqueid"><!-- contents of /src/icons/logo.svg --></symbol>
<use xlink:href="#ai:uniqueid"></use>
<use href="#ai:uniqueid"></use>
</svg>
<Icon name="logo" />
<!-- Additional usage generates the following HTML -->
<svg data-icon="logo">
<use xlink:href="#ai:uniqueid"></use>
<use href="#ai:uniqueid"></use>
</svg>
```

Expand Down

0 comments on commit 4286405

Please sign in to comment.