import React from 'react';
import Box from '../../ui/box/box';
import { AlignItems, DISPLAY } from '../../../helpers/constants/design-system';
import { AvatarAccount } from './avatar-account';
import {
AvatarAccountVariant,
AvatarAccountSize,
} from './avatar-account.types';
import README from './README.mdx';
export default {
title: 'Components/ComponentLibrary/AvatarAccount',
component: AvatarAccount,
parameters: {
docs: {
page: README,
},
},
argTypes: {
size: {
control: 'select',
options: Object.values(AvatarAccountSize).map(
(value) => value.toLowerCase(), // Removes reverse mapping from enum this is a temporary fix until we are using typescript for everything
),
},
address: { control: 'text' },
variant: {
control: 'select',
options: Object.values(AvatarAccountVariant),
},
},
args: {
address: '0x5CfE73b6021E818B776b421B1c4Db2474086a7e1',
size: AvatarAccountSize.Md,
variant: AvatarAccountVariant.Jazzicon,
},
};
export const DefaultStory = (args) => ;
DefaultStory.storyName = 'Default';
export const Size = (args) => (
);
export const Variant = (args) => (
);
export const Address = (args) => (
);