Skip to content

Commit 194897b

Browse files
authored
docs(badge): content must be passed to be shown (#2844)
1 parent 45f7feb commit 194897b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/badge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill';
1717

1818
<EncapsulationPill type="shadow" />
1919

20-
Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are.
20+
Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are. Badges are hidden if no content is passed in.
2121

2222
## Basic Usage
2323

versioned_docs/version-v6/api/badge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill';
2121

2222
<EncapsulationPill type="shadow" />
2323

24-
Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are.
24+
Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are. Badges are hidden if no content is passed in.
2525

2626
## Basic Usage
2727

0 commit comments

Comments
 (0)