feat(badge): add small/default size for ionic theme (#29526)

This commit is contained in:
Maria Hutt
2024-05-22 11:11:37 -07:00
committed by GitHub
parent 888b0c8284
commit 5c0b5c32d0
12 changed files with 133 additions and 6 deletions

View File

@ -344,14 +344,14 @@ export declare interface IonBackdrop extends Components.IonBackdrop {
@ProxyCmp({
defineCustomElementFn: defineIonBadge,
inputs: ['color', 'mode', 'theme']
inputs: ['color', 'mode', 'size', 'theme']
})
@Component({
selector: 'ion-badge',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['color', 'mode', 'theme'],
inputs: ['color', 'mode', 'size', 'theme'],
standalone: true
})
export class IonBadge {