Skip to content

Commit abefaf5

Browse files
devversionjelbourn
authored andcommitted
docs(button): add icon button to readme
Closes #221
1 parent e2f89c3 commit abefaf5

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/components/button/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Button types
66

7-
There are four types of buttons:
7+
There are five types of buttons:
88
1. Flat buttons - `md-button`
99
* Rectangular button
1010
* Defaults to white background
@@ -13,12 +13,16 @@ There are four types of buttons:
1313
* Rectangular button
1414
* Defaults to white background
1515
* Box shadow applied
16-
3. Floating Action Buttons (FABs) - `md-fab`
16+
3. Icon buttons - `md-icon-button`
17+
* Circular button
18+
* Transparent background
19+
* 40 by 40 px
20+
4. Floating Action Buttons (FABs) - `md-fab`
1721
* Circular button
1822
* Defaults background to "accent" palette defined in theme
1923
* Box shadow applied
2024
* 56 by 56 px
21-
4. Mini Floating Action Buttons (Mini FABs) - `md-mini-fab`
25+
5. Mini Floating Action Buttons (Mini FABs) - `md-mini-fab`
2226
* Circular button
2327
* Defaults background to "accent" palette defined in theme
2428
* Box shadow applied
@@ -32,6 +36,9 @@ Example:
3236
```html
3337
<button md-button>FLAT</button>
3438
<button md-raised-button>RAISED</button>
39+
<button md-icon-button>
40+
<i class="material-icons md-24">favorite</i>
41+
</button>
3542
<button md-fab>
3643
<i class="material-icons md-24">add</i>
3744
</button>

0 commit comments

Comments
 (0)