Skip to content

Commit b6a9bf1

Browse files
lsamboretrorabbitandrewseguin
authored andcommitted
docs(material/chips): added an example that corresponds to the title of static chips (#28863)
Fixes the documentation example in the Angular Material `chips` component. Previously the text description of static chips did not match code example Fixes #28845 (cherry picked from commit 1eb0da7)
1 parent 008b94a commit b6a9bf1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<mat-chip-listbox aria-label="Fish selection">
2-
<mat-chip-option>One fish</mat-chip-option>
3-
<mat-chip-option>Two fish</mat-chip-option>
4-
<mat-chip-option color="accent" selected>Accent fish</mat-chip-option>
5-
<mat-chip-option color="warn">Warn fish</mat-chip-option>
6-
</mat-chip-listbox>
1+
<mat-chip-set aria-label="Fish selection">
2+
<mat-chip>One fish</mat-chip>
3+
<mat-chip>Two fish</mat-chip>
4+
<mat-chip>Three fish</mat-chip>
5+
<mat-chip disabled>Four fish</mat-chip>
6+
</mat-chip-set>

0 commit comments

Comments
 (0)