Skip to content

Commit

Permalink
feat(badge): dot slot
Browse files Browse the repository at this point in the history
  • Loading branch information
acstll committed Feb 20, 2024
1 parent 96d5da0 commit 7d3d1f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/badge/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class Badge {
aria-label={this.count ? this.getAriaLabel() : this.label}
>
<slot />
<slot name="dot" />
<span
aria-hidden="true"
part={cx(`circle`, this.count ? `has-count` : 'no-count')}
Expand Down

0 comments on commit 7d3d1f1

Please sign in to comment.