1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-28 07:49:41 +01:00
bitwarden-browser/libs/components/src/icon/icon.stories.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
513 B
TypeScript
Raw Normal View History

import { Meta, StoryObj } from "@storybook/angular";
import { BitIconComponent } from "./icon.component";
import * as GenericIcons from "./icons";
export default {
title: "Component Library/Icon",
component: BitIconComponent,
} as Meta;
type Story = StoryObj<BitIconComponent>;
export const Default: Story = {
args: {
icon: GenericIcons.NoAccess,
},
argTypes: {
icon: {
options: Object.keys(GenericIcons),
mapping: GenericIcons,
control: { type: "select" },
},
},
};