Skip to content

Commit ab04f21

Browse files
crisbetozarend
authored andcommitted
docs(material/chips): use correct terminology (#24798)
Fixes that we were referring to `MatChip` as a component even though it's a directive. Fixes #24779. (cherry picked from commit cb2f493)
1 parent a98f5ad commit ab04f21

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/material/chips/chip-list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export class MatChipList
350350
*/
351351
@Output() readonly valueChange = new EventEmitter<any>();
352352

353-
/** The chip components contained within this chip list. */
353+
/** The chips contained within this chip list. */
354354
@ContentChildren(MatChip, {
355355
// We need to use `descendants: true`, because Ivy will no longer match
356356
// indirect descendants if it's left as false.

src/material/chips/chip.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ export class MatChipAvatar {}
116116
})
117117
export class MatChipTrailingIcon {}
118118

119-
/**
120-
* Material design styled Chip component. Used inside the MatChipList component.
121-
*/
119+
/** Material Design styled chip directive. Used inside the MatChipList component. */
122120
@Directive({
123121
selector: `mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]`,
124122
inputs: ['color', 'disableRipple', 'tabIndex'],

0 commit comments

Comments
 (0)