1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-30 16:23:53 +00:00

update class name

This commit is contained in:
Will Martin
2026-01-26 23:18:15 -05:00
parent 03f017a1d6
commit 2dcff69b61
3 changed files with 8 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ import { BitwardenIcon } from "../shared/icon";
template: ``,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BitIconComponent {
export class IconComponent {
/**
* The Bitwarden icon name (e.g., "bwi-lock", "bwi-user")
*/

View File

@@ -1,9 +1,9 @@
import { NgModule } from "@angular/core";
import { BitIconComponent } from "./icon.component";
import { IconComponent } from "./icon.component";
@NgModule({
imports: [BitIconComponent],
exports: [BitIconComponent],
imports: [IconComponent],
exports: [IconComponent],
})
export class IconModule {}

View File

@@ -2,11 +2,11 @@ import { Meta, StoryObj } from "@storybook/angular";
import { BITWARDEN_ICONS } from "../shared/icon";
import { BitIconComponent } from "./icon.component";
import { IconComponent } from "./icon.component";
export default {
title: "Component Library/Icon",
component: BitIconComponent,
component: IconComponent,
parameters: {
design: {
type: "figma",
@@ -19,9 +19,9 @@ export default {
options: BITWARDEN_ICONS,
},
},
} as Meta<BitIconComponent>;
} as Meta<IconComponent>;
type Story = StoryObj<BitIconComponent>;
type Story = StoryObj<IconComponent>;
export const Default: Story = {
args: {