Skip to content

Commit e908663

Browse files
AsherFostertinayuangao
authored andcommitted
docs(list): fix incorrect docs for md-list (#3018)
Related to #2999. Code example shows md-icon with [md-list-avatar] instead of [md-list-icon]
1 parent ab8f98f commit e908663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/list/list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@ To add a divider, use `<md-divider>`.
128128
<md-list>
129129
<h3 md-subheader>Folders</h3>
130130
<md-list-item *ngFor="let folder of folders">
131-
<md-icon md-list-avatar>folder</md-icon>
131+
<md-icon md-list-icon>folder</md-icon>
132132
<h4 md-line>{{folder.name}}</h4>
133133
<p md-line class="demo-2"> {{folder.updated}} </p>
134134
</md-list-item>
135135
<md-divider></md-divider>
136136
<h3 md-subheader>Notes</h3>
137137
<md-list-item *ngFor="let note of notes">
138-
<md-icon md-list-avatar>note</md-icon>
138+
<md-icon md-list-icon>note</md-icon>
139139
<h4 md-line>{{note.name}}</h4>
140140
<p md-line class="demo-2"> {{note.updated}} </p>
141141
</md-list-item>

0 commit comments

Comments
 (0)