Skip to content

Commit

Permalink
feat(design): add hostbinding class to error message so the theming s…
Browse files Browse the repository at this point in the history
…tyles can be properly applied (#2479)
  • Loading branch information
xelaint committed Jun 20, 2023
1 parent 7661c57 commit 80fe194
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
Component,
ChangeDetectionStrategy,
HostBinding,
} from '@angular/core';

@Component({
Expand All @@ -9,4 +10,6 @@ import {
styleUrls: ['./error-message.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DaffErrorMessageComponent {}
export class DaffErrorMessageComponent {
@HostBinding('class.daff-error-message') class = true;
}

0 comments on commit 80fe194

Please sign in to comment.