fix(react): add class based APIs (#16665)

fixes #16583
This commit is contained in:
Manu MA
2018-12-11 01:08:00 +01:00
committed by GitHub
parent 64557a7bcc
commit 2933f61e8d
32 changed files with 117 additions and 67 deletions

View File

@ -207,7 +207,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
<div class="toast-message">{this.message}</div>
}
{this.showCloseButton &&
<ion-button fill="clear" ion-activatable class="toast-button" onClick={() => this.dismiss(undefined, 'cancel')}>
<ion-button fill="clear" class="toast-button ion-activatable" onClick={() => this.dismiss(undefined, 'cancel')}>
{this.closeButtonText || 'Close'}
</ion-button>
}