We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c1219 commit a47f368Copy full SHA for a47f368
src/lib/rating/Rating.svelte
@@ -21,15 +21,15 @@
21
<!-- eslint-disable @typescript-eslint/no-unused-vars -->
22
{#each Array(fullStars) as _, index}
23
<Icon {size} fillPercent={100} starIndex={index}
24
- groupId={`${ratingGroupId}-full`} />
+ groupId={`rating-${ratingGroupId}-full`} />
25
{/each}
26
{#if percentRating}
27
<Icon {size} fillPercent={percentRating} starIndex={fullStars}
28
- groupId={`${ratingGroupId}-partial`} />
+ groupId={`rating-${ratingGroupId}-partial`} />
29
{/if}
30
{#each Array(grayStars) as _, index}
31
<Icon {size} fillPercent={0} starIndex={index}
32
- groupId={`${ratingGroupId}-empty`} />
+ groupId={`rating-${ratingGroupId}-empty`} />
33
34
{#if text}
35
{@render text()}
0 commit comments