import * as React from 'react';
import { Avatar, AvatarProps } from './Avatar';
export default {
title: 'Atoms/Avatar',
component: Avatar,
argTypes: {
initials: { control: 'text' },
},
args: {
initials: 'KR',
hash: 'aa',
},
};
type StoryArgs = {
initials?: string;
} & AvatarProps;
export const WithInitials = ({ initials, ...rest }: StoryArgs) => (
{initials}
);
export const WithText = ({ initials, ...rest }: StoryArgs) => (
{initials}
);
export const Empty = (args: StoryArgs) => ;
export const DeliberatelyEmpty = (args: StoryArgs) => (
);