Skip to content

Commit

Permalink
allow class for IconStar
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Jul 6, 2024
1 parent 4bfa462 commit 4100695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/IconStar.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script>
let { fill = "none" } = $props();
let { fill = "none", class: klass = "" } = $props();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-star"
class="icon icon-tabler icon-tabler-star {klass}"
width="1em"
height="1em"
viewBox="0 0 24 24"
Expand Down

0 comments on commit 4100695

Please sign in to comment.