mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 05:30:01 +00:00
revert iconButton type
This commit is contained in:
@@ -16,7 +16,6 @@ import { AriaDisableDirective } from "../a11y";
|
||||
import { setA11yTitleAndAriaLabel } from "../a11y/set-a11y-title-and-aria-label";
|
||||
import { ButtonLikeAbstraction } from "../shared/button-like.abstraction";
|
||||
import { FocusableElement } from "../shared/focusable-element";
|
||||
import { BitwardenIcon } from "../shared/icon";
|
||||
import { SpinnerComponent } from "../spinner";
|
||||
import { TooltipDirective } from "../tooltip";
|
||||
import { ariaDisableElement } from "../utils";
|
||||
@@ -117,7 +116,7 @@ const sizes: Record<IconButtonSize, string[]> = {
|
||||
],
|
||||
})
|
||||
export class BitIconButtonComponent implements ButtonLikeAbstraction, FocusableElement {
|
||||
readonly icon = model.required<BitwardenIcon>({ alias: "bitIconButton" });
|
||||
readonly icon = model.required<string>({ alias: "bitIconButton" });
|
||||
|
||||
readonly buttonType = input<IconButtonType>("main");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user