Skip to content

Commit 884a5a2

Browse files
committed
feat(components): implements color and mode
1 parent 6496d4e commit 884a5a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/states.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class StateEmpty {
102102
template: `
103103
<div *ngIf="enabled">
104104
<span class="msg-exception">{{messageException}}</span>
105-
<button ion-button (click)="retryRequest()">
105+
<button [color]="color" [mode]="mode" ion-button (click)="retryRequest()">
106106
<span>
107107
<ng-content></ng-content>
108108
{{messageRetry}}
@@ -121,6 +121,10 @@ export class StateError {
121121

122122
@Input() messageException: string;
123123

124+
@Input() mode: string;
125+
126+
@Input() color: string;
127+
124128
retry = new Subject<StateError>();
125129

126130
retryRequest() {

0 commit comments

Comments
 (0)