1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

[CL-111] remove h3 from bit-callout (#5853)

* aside added and h3 turned into header

Co-authored-by: willmartian <contact@willmartian.com>
This commit is contained in:
cd-bitwarden
2023-08-19 09:39:10 -04:00
committed by GitHub
parent f2cd8dd90d
commit fe6c2fbf80
2 changed files with 10 additions and 4 deletions

View File

@@ -16,6 +16,9 @@ const defaultI18n: Partial<Record<CalloutTypes, string>> = {
danger: "error",
};
// Increments for each instance of this component
let nextId = 0;
@Component({
selector: "bit-callout",
templateUrl: "callout.component.html",
@@ -25,6 +28,7 @@ export class CalloutComponent implements OnInit {
@Input() icon: string;
@Input() title: string;
@Input() useAlertRole = false;
protected titleId = `bit-callout-title-${nextId++}`;
constructor(private i18nService: I18nService) {}