mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Add shape condition
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user