Skip to content

Commit

Permalink
revert: misunderstood part/slot definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
christoshrousis committed Oct 10, 2021
1 parent 449f5e6 commit c4cbc89
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/progress-ring/progress-ring.ts
Expand Up @@ -10,6 +10,7 @@ import styles from './progress-ring.styles';
* @slot - A label to show inside the ring.
*
* @csspart base - The component's base wrapper.
* @csspart label - The progress ring label.
*
* @cssproperty --size - The diameter of the progress ring (cannot be a percentage).
* @cssproperty --track-width - The width of the track.
Expand Down Expand Up @@ -72,6 +73,10 @@ export default class SlProgressRing extends LitElement {
<circle class="progress-ring__indicator" style="stroke-dashoffset: ${this.indicatorOffset}"></circle>
</svg>
</div>
<span part="label" class="progress-ring__label">
<slot></slot>
</span>
`;
}
}
Expand Down

0 comments on commit c4cbc89

Please sign in to comment.