Skip to content

Commit

Permalink
docs(list): clarify that md-avatar-icon is for use with icons (angula…
Browse files Browse the repository at this point in the history
…r#11396)

current example causes confusion that it can be used with images
it also uses an icon set that is not defined in the docs site

Fixes angular#10382
  • Loading branch information
Splaktar authored and jelbourn committed Aug 3, 2018
1 parent 7fdf9da commit 1e0cefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/list/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function mdListDirective($mdTheming) {
* When using `<md-icon>` for an avatar, you have to use the `.md-avatar-icon` class.
* <hljs lang="html">
* <md-list-item>
* <md-icon class="md-avatar-icon" md-svg-icon="avatars:timothy"></md-icon>
* <md-icon class="md-avatar-icon" md-svg-icon="social:person"></md-icon>
* <span>Timothy Kopra</span>
* </md-list-item>
* </hljs>
Expand Down

0 comments on commit 1e0cefc

Please sign in to comment.