mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Update icon.md
This commit is contained in:
@@ -434,7 +434,7 @@ The browser will load the sprite sheet once and then you reference the particula
|
||||
registerIconLibrary({
|
||||
name: 'sprite',
|
||||
getUrl: name => `/assets/images/sprite.svg#${name}`,
|
||||
getMarkup: url => `<svg fill="currentColor"><use part="use" href="${url}"></use></svg>`
|
||||
getMarkup: url => `<svg fill="currentColor"><use href="${url}"></use></svg>`
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user