Skip to content

Commit

Permalink
docs(material/chips): added an example that corresponds to the title …
Browse files Browse the repository at this point in the history
…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)
  • Loading branch information
lsamboretrorabbit authored and andrewseguin committed Apr 11, 2024
1 parent 008b94a commit b6a9bf1
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mat-chip-listbox aria-label="Fish selection">
<mat-chip-option>One fish</mat-chip-option>
<mat-chip-option>Two fish</mat-chip-option>
<mat-chip-option color="accent" selected>Accent fish</mat-chip-option>
<mat-chip-option color="warn">Warn fish</mat-chip-option>
</mat-chip-listbox>
<mat-chip-set aria-label="Fish selection">
<mat-chip>One fish</mat-chip>
<mat-chip>Two fish</mat-chip>
<mat-chip>Three fish</mat-chip>
<mat-chip disabled>Four fish</mat-chip>
</mat-chip-set>

0 comments on commit b6a9bf1

Please sign in to comment.