1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00
Files
browser/libs/components/src/form-control/hint.component.ts
Oscar Hinton 26fb7effd3 Remove standalone true from platform and UIF (#15032)
Remove standalone: true from every instance since it's the default as of Angular 19.
2025-06-02 20:03:04 +02:00

15 lines
337 B
TypeScript

import { Directive, HostBinding } from "@angular/core";
// Increments for each instance of this component
let nextId = 0;
@Directive({
selector: "bit-hint",
host: {
class: "tw-text-muted tw-font-normal tw-inline-block tw-mt-1 tw-text-xs",
},
})
export class BitHintComponent {
@HostBinding() id = `bit-hint-${nextId++}`;
}