We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6496d4e commit 884a5a2Copy full SHA for 884a5a2
src/components/states.ts
@@ -102,7 +102,7 @@ export class StateEmpty {
102
template: `
103
<div *ngIf="enabled">
104
<span class="msg-exception">{{messageException}}</span>
105
- <button ion-button (click)="retryRequest()">
+ <button [color]="color" [mode]="mode" ion-button (click)="retryRequest()">
106
<span>
107
<ng-content></ng-content>
108
{{messageRetry}}
@@ -121,6 +121,10 @@ export class StateError {
121
122
@Input() messageException: string;
123
124
+ @Input() mode: string;
125
+
126
+ @Input() color: string;
127
128
retry = new Subject<StateError>();
129
130
retryRequest() {
0 commit comments