Add toggle button example

This commit is contained in:
eugene-sinitsyn 2020-03-06 14:26:25 +03:00 committed by Maksim Karatkevich
parent 747f48d021
commit 28d6ad2103
2 changed files with 5 additions and 2 deletions

View file

@ -3,4 +3,7 @@
<button mat-stroked-button color="primary">Stroked</button> <button mat-stroked-button color="primary">Stroked</button>
<button mat-flat-button color="primary">Flat</button> <button mat-flat-button color="primary">Flat</button>
<button mat-fab color="primary">FAB</button> <button mat-fab color="primary">FAB</button>
<button mat-mini-fab color="primary">mini</button> <mat-button-toggle-group>
<mat-button-toggle value="left" [checked]="true">Toggle left</mat-button-toggle>
<mat-button-toggle value="right">Toggle right</mat-button-toggle>
</mat-button-toggle-group>

View file

@ -1,3 +1,3 @@
button { button, mat-button-toggle-group {
margin: 0.5rem; margin: 0.5rem;
} }