Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
docs(tab): Add missing material-icons class to tab example (#3391)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored and kfranqueiro committed Aug 22, 2018
1 parent 06e87d3 commit 3fec896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mdc-tab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ npm install @material/tab
```html
<button class="mdc-tab" role="tab" aria-selected="false" tabindex="-1">
<span class="mdc-tab__content">
<span class="mdc-tab__icon">heart</span>
<span class="mdc-tab__icon material-icons">favorite</span>
<span class="mdc-tab__text-label">Favorites</span>
</span>
<span class="mdc-tab-indicator">
Expand Down Expand Up @@ -71,7 +71,7 @@ const tab = new MDCTab(document.querySelector('.mdc-tab'));
```html
<button class="mdc-tab mdc-tab--active" role="tab" aria-selected="true">
<span class="mdc-tab__content">
<span class="mdc-tab__icon">heart</span>
<span class="mdc-tab__icon material-icons">favorite</span>
<span class="mdc-tab__text-label">Favorites</span>
</span>
<span class="mdc-tab-indicator mdc-tab-indicator--active">
Expand Down

0 comments on commit 3fec896

Please sign in to comment.