You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/stories/badge/Badges.mdx
+1-17Lines changed: 1 addition & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,26 +47,10 @@ These controls allow you to interactively modify the props of the component in t
47
47
48
48
## Additional variations
49
49
50
-
<Canvasof={BadgeStories.Secondary} />
51
-
<Canvasof={BadgeStories.Success} />
52
-
<Canvasof={BadgeStories.Danger} />
53
-
<Canvasof={BadgeStories.Warning} />
54
-
<Canvasof={BadgeStories.Info} />
55
-
<Canvasof={BadgeStories.Light} />
56
-
<Canvasof={BadgeStories.Dark} />
57
-
58
50
### Badge as a Counter
59
51
60
52
As this example shows, badges can be used as counters to indicate the number of unread messages or notifications. This is typically done by positioning the badge in the top-right corner of an icon or button.
0 commit comments