Skip to content

Commit

Permalink
feat(components): implements color and mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonornela committed Jan 4, 2017
1 parent 6496d4e commit 884a5a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/states.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class StateEmpty {
template: `
<div *ngIf="enabled">
<span class="msg-exception">{{messageException}}</span>
<button ion-button (click)="retryRequest()">
<button [color]="color" [mode]="mode" ion-button (click)="retryRequest()">
<span>
<ng-content></ng-content>
{{messageRetry}}
Expand All @@ -121,6 +121,10 @@ export class StateError {

@Input() messageException: string;

@Input() mode: string;

@Input() color: string;

retry = new Subject<StateError>();

retryRequest() {
Expand Down

0 comments on commit 884a5a2

Please sign in to comment.