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

@ -93,7 +93,6 @@ export class FabButton implements ComponentInterface {
hostData() {
const inList = hostContext('ion-fab-list', this.el);
return {
'ion-activatable': true,
'aria-disabled': this.disabled ? 'true' : null,
class: {
...createColorClasses(this.color),
@ -103,7 +102,8 @@ export class FabButton implements ComponentInterface {
'fab-button-show': this.show,
'fab-button-disabled': this.disabled,
'fab-button-translucent': this.translucent,
'focused': this.keyFocus
'ion-activatable': true,
'focused': this.keyFocus,
}
};
}