import React from 'react'; import { ComponentMeta, ComponentStory } from '@storybook/react'; import { Avatar } from '.'; export default { title: 'UI Components/Avatar', component: Avatar, argTypes: { ref: { table: { disable: true } }, }, args: { name: '100ms', }, } as ComponentMeta; export const Square: ComponentStory = args => { return ; }; export const Circle: ComponentStory = args => { return ; }; export const Playground = ({ height = 50, width = 50, css = {}, shape = 'circle' as const, name = '' }) => { return ; }; Playground.storyName = 'Avatar'; Playground.argTypes = { height: { control: { type: 'number' } }, width: { control: { type: 'number' } }, shape: { options: ['square', 'circle'], defaultValue: 'square', control: { type: 'select' } }, };