Skip to content

Commit 1d94bc5

Browse files
docs: adds new button examples
Typo correction Cleanup basic buttons docs: Moves the flat/strocked buttons above icon/fab/mini-fab buttons Requested changes
1 parent 825d35c commit 1d94bc5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
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>
@@ -72,3 +82,7 @@ <h3>Mini Fab Buttons</h3>
7282
</button>
7383
<a mat-mini-fab routerLink=".">Link</a>
7484
</div>
85+
86+
<!-- Copyright 2018 Google Inc. All Rights Reserved.
87+
Use of this source code is governed by an MIT-style license that
88+
can be found in the LICENSE file at http://angular.io/license -->

0 commit comments

Comments
 (0)