Skip to content

Commit 92e4363

Browse files
FrederikSchlemmerjosephperrott
authored andcommitted
docs: adds new button examples (#11975)
1 parent cc33f57 commit 92e4363

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/material-examples/button-types/button-types-example.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ <h3>Stroked Buttons</h3>
2828
<a mat-stroked-button routerLink=".">Link</a>
2929
</div>
3030

31+
<h3>Flat Buttons</h3>
32+
<div class="button-row">
33+
<button mat-flat-button>Basic</button>
34+
<button mat-flat-button color="primary">Primary</button>
35+
<button mat-flat-button color="accent">Accent</button>
36+
<button mat-flat-button color="warn">Warn</button>
37+
<button mat-flat-button disabled>Disabled</button>
38+
<a mat-flat-button routerLink=".">Link</a>
39+
</div>
40+
3141
<h3>Icon Buttons</h3>
3242
<div class="button-row">
3343
<button mat-icon-button>
@@ -71,4 +81,4 @@ <h3>Mini Fab Buttons</h3>
7181
<mat-icon aria-label="Example icon-button with a heart icon">favorite</mat-icon>
7282
</button>
7383
<a mat-mini-fab routerLink=".">Link</a>
74-
</div>
84+
</div>

0 commit comments

Comments
 (0)