import React from 'react'; import { Meta, StoryFn } from '@storybook/react'; import { Display, AlignItems, BorderColor, } from '../../../helpers/constants/design-system'; import { Box } from '../box'; import README from './README.mdx'; import { AvatarFavicon, AvatarFaviconSize } from '.'; export default { title: 'Components/ComponentLibrary/AvatarFavicon', component: AvatarFavicon, parameters: { docs: { page: README, }, }, argTypes: { size: { control: 'select', options: Object.values(AvatarFaviconSize), }, src: { control: 'text', }, name: { control: 'text', }, borderColor: { options: Object.values(BorderColor), control: 'select', }, }, args: { src: 'https://uniswap.org/favicon.ico', size: AvatarFaviconSize.Md, name: 'Uniswap', }, } as Meta; const Template: StoryFn = (args) => { return ; }; export const DefaultStory = Template.bind({}); DefaultStory.storyName = 'Default'; export const SizeStory: StoryFn = (args) => ( ); SizeStory.storyName = 'Size'; export const Src: StoryFn = (args) => ( );