(button: ActionSheetButton)
| 671 | } |
| 672 | |
| 673 | const buttonClass = (button: ActionSheetButton): CssClassMap => { |
| 674 | return { |
| 675 | 'action-sheet-button': true, |
| 676 | 'ion-activatable': !button.disabled, |
| 677 | 'ion-focusable': !button.disabled, |
| 678 | [`action-sheet-${button.role}`]: button.role !== undefined, |
| 679 | ...getClassMap(button.cssClass), |
| 680 | }; |
| 681 | }; |
no test coverage detected