import type { StoryObj, Meta } from '@storybook/react'
import { Avatar, AvatarProps } from '@vinioliver-ignite-ui/react'

export default {
    title: 'Data display/Avatar',
    component: Avatar,
    args:{
        src: 'https://github.com/vinioliver01.png',
        alt: 'vinioliver01',
    },
} as Meta<AvatarProps>

export const Primary: StoryObj<AvatarProps> ={}

export const WithFallback: StoryObj<AvatarProps> ={
    args: {
        src: undefined,
    },
}