mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
feat(badge): add small/default size for ionic theme (#29526)
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user