Skip to content

Commit

Permalink
fixes #578
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Nov 5, 2021
1 parent 7177b9b commit 6aca688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/icon.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ If you want to change the icons Shoelace uses internally, you can register an ic
item.setAttribute('data-name', i.name);
item.setAttribute('data-terms', [i.name, i.title, ...(i.tags || []), ...(i.categories || [])].join(' '));
item.innerHTML = `
<svg width="1em" height="1em">
<svg width="1em" height="1em" fill="currentColor">
<use xlink:href="/assets/icons/sprite.svg#${i.name}"></use>
</svg>
`;
Expand Down

0 comments on commit 6aca688

Please sign in to comment.