Skip to content

Commit

Permalink
fix(icon-button): Update
Browse files Browse the repository at this point in the history
  • Loading branch information
williamernest committed Jun 20, 2018
1 parent f57c85e commit c1c5714
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mdc-icon-button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ Attribute | Description

#### Icon Button Toggle with Font Awesome

The icon button toggle can be used with other font libraries such as Font Awesome.
The icon button toggle can be used with other font libraries such as Font Awesome that use an inner icon element.

```html
<button id="star-this-item"
class="mdc-icon-button"
aria-label="Star this item"
aria-label="Unstar this item"
aria-hidden="true"
aria-pressed="true"
data-toggle-on-class="fa-star"
data-toggle-on-label="Remove star"
data-toggle-on-label="Unstar this item"
data-toggle-off-class="fa-star-o"
data-toggle-off-label="Star this item"><i class="fa fa-2x fa-star"></i></button>
```
Expand Down

0 comments on commit c1c5714

Please sign in to comment.