import React from "react"; import { ComponentMeta, ComponentStory } from "@storybook/react"; import image from '../assets/avatar.png'; import { Avatar } from "../"; export default { title: "Components/Avatar", component: Avatar, } as ComponentMeta; const Template: ComponentStory = (args) => ; export const Default = Template.bind({}); Default.args = { children: 'MK' } export const Medium = Template.bind({}); Medium.args = { children: 'MK', size: 'md' } export const Large = Template.bind({}); Large.args = { children: 'MK', size: 'lg' } export const Image = Template.bind({}); Image.args = { image: image } export const WithBadge = Template.bind({}); WithBadge.args = { image: image, status: {indicator: 'danger'} } export const Icon = Template.bind({}); Icon.args = { children: } export const ColoredIcon = Template.bind({}); ColoredIcon.args = { children: , color: 'red' } export const LightColoredIcon = Template.bind({}); LightColoredIcon.args = { children: , color: 'green', light: true } export const Rounded = Template.bind({}); Rounded.args = { children: , shape: 'circle', color: 'lime' }