1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-31 08:43:54 +00:00
Files
browser/libs/components/src/header/header.component.ts
Isaac Ivins 95100b6f23 Feature/pm 28788 desktop header UI migration (#18221)
Add desktop header component
2026-01-09 09:41:15 +01:00

23 lines
540 B
TypeScript

import { ChangeDetectionStrategy, Component, input } from "@angular/core";
import { TypographyDirective } from "../typography/typography.directive";
@Component({
selector: "bit-header",
templateUrl: "./header.component.html",
imports: [TypographyDirective],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
})
export class HeaderComponent {
/**
* The title of the page
*/
readonly title = input.required<string>();
/**
* Icon to show before the title
*/
readonly icon = input<string>();
}