import { Meta, Story } from "@storybook/angular"; import { AvatarComponent } from "./avatar.component"; export default { title: "Component Library/Avatar", component: AvatarComponent, args: { id: undefined, text: "Walt Walterson", size: "default", }, parameters: { design: { type: "figma", url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A16994", }, }, } as Meta; const Template: Story = (args: AvatarComponent) => ({ props: args, }); export const Default = Template.bind({}); Default.args = { color: "#175ddc", }; export const Large = Template.bind({}); Large.args = { size: "large", }; export const Small = Template.bind({}); Small.args = { size: "small", }; export const LightBackground = Template.bind({}); LightBackground.args = { color: "#d2ffcf", }; export const Border = Template.bind({}); Border.args = { border: true, }; export const ColorByID = Template.bind({}); ColorByID.args = { id: 236478, }; export const ColorByText = Template.bind({}); ColorByText.args = { text: "Jason Doe", };