Add shape condition

This commit is contained in:
Bernardo Cardoso
2024-04-09 11:10:59 +01:00
parent e3f4a56a71
commit 545199889a

View File

@ -50,7 +50,7 @@ export class Chip implements ComponentInterface {
aria-disabled={this.disabled ? 'true' : null}
class={createColorClasses(this.color, {
[theme]: true,
[`chip-${shape}`]: shape !== undefined,
[`chip-${shape}`]: theme === 'ionic' && shape !== undefined,
'chip-outline': this.outline,
'chip-disabled': this.disabled,
'ion-activatable': true,