diff --git a/libs/components/src/callout/callout.component.ts b/libs/components/src/callout/callout.component.ts index e944446b13c..b65e3995a37 100644 --- a/libs/components/src/callout/callout.component.ts +++ b/libs/components/src/callout/callout.component.ts @@ -6,7 +6,8 @@ import { input, signal, afterNextRender, - ViewChild, + viewChild, + TemplateRef, } from "@angular/core"; import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; @@ -67,7 +68,7 @@ export class CalloutComponent implements AfterViewInit { protected readonly titleId = `bit-callout-title-${nextId++}`; - @ViewChild("content", { static: false }) + readonly content = viewChild(TemplateRef); private contentRef!: ElementRef; readonly contentText = signal("");