mirror of
https://github.com/bitwarden/clients.git
synced 2026-02-09 02:13:45 +08:00
* create libs/assets * treeshake lib and filter out non-icons from icon story * update docs * fix icon colors in browser and desktop * better name for vault icon * move illustrations
25 lines
580 B
TypeScript
25 lines
580 B
TypeScript
// FIXME: Update this file to be type safe and remove this and next line
|
|
// @ts-strict-ignore
|
|
import { Component, Input } from "@angular/core";
|
|
|
|
import { EmailIcon, RecoveryCodeIcon, TOTPIcon, WebAuthnIcon } from "@bitwarden/assets/svg";
|
|
|
|
@Component({
|
|
selector: "auth-two-factor-icon",
|
|
templateUrl: "./two-factor-icon.component.html",
|
|
standalone: false,
|
|
})
|
|
export class TwoFactorIconComponent {
|
|
@Input() provider: any;
|
|
@Input() name: string;
|
|
|
|
protected readonly Icons = {
|
|
TOTPIcon,
|
|
EmailIcon,
|
|
WebAuthnIcon,
|
|
RecoveryCodeIcon,
|
|
};
|
|
|
|
constructor() {}
|
|
}
|