import React from 'react'; import Box from '../../ui/box/box'; import { AlignItems, DISPLAY, Size, } from '../../../helpers/constants/design-system'; import { AvatarAccount } from './avatar-account'; import { AVATAR_ACCOUNT_TYPES, AVATAR_ACCOUNT_SIZES, } from './avatar-account.constants'; import README from './README.mdx'; export default { title: 'Components/ComponentLibrary/AvatarAccount', component: AvatarAccount, parameters: { docs: { page: README, }, }, argTypes: { size: { control: 'select', options: Object.values(AVATAR_ACCOUNT_SIZES), }, address: { control: 'text' }, type: { control: 'select', options: Object.values(AVATAR_ACCOUNT_TYPES), }, }, args: { address: '0x5CfE73b6021E818B776b421B1c4Db2474086a7e1', size: Size.MD, type: AVATAR_ACCOUNT_TYPES.JAZZICON, }, }; export const DefaultStory = (args) => ; DefaultStory.storyName = 'Default'; export const SizeStory = (args) => ( ); SizeStory.storyName = 'Size'; export const Type = (args) => ( ); export const Address = (args) => ( );