Browse Source

Merge pull request #24147 from abpframework/auto-merge/rel-9-3/4119

Merge branch rel-10.0 with rel-9.3
pull/24155/head
Ma Liming 3 months ago
committed by GitHub
parent
commit
b2874ab0db
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 26
      npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts

26
npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts

@ -1,17 +1,17 @@
/* eslint-disable @angular-eslint/no-output-native */
import {
Component,
ElementRef,
EventEmitter,
Input,
OnInit,
Output,
Renderer2,
ViewChild,
inject
import {
Component,
ElementRef,
EventEmitter,
Input,
OnInit,
Output,
Renderer2,
ViewChild,
inject,
} from '@angular/core';
import { NgClass } from '@angular/common';
import { ABP } from '@abp/ng.core';
import { CommonModule } from '@angular/common';
import { ABP, StopPropagationDirective } from '@abp/ng.core';
@Component({
selector: 'abp-button',
@ -30,7 +30,7 @@ import { ABP } from '@abp/ng.core';
<i [ngClass]="icon" class="me-1" aria-hidden="true"></i><ng-content></ng-content>
</button>
`,
imports: [NgClass],
imports: [CommonModule, StopPropagationDirective],
})
export class ButtonComponent implements OnInit {
private renderer = inject(Renderer2);

Loading…
Cancel
Save