import React, { useState } from 'react' import { Meta, StoryObj } from '@storybook/react' import { ProductAvatarGroup, ProductAvatarItem } from './ProductAvatar.component' import { IProductAvatar } from './ProductAvatar.interface' export default { title: 'Backlog/ProductAvatar', component: ProductAvatarItem, args: {} } as Meta export const Simple: StoryObj> = { render: args => { const [isSelected, setSelected] = useState(false) const handlerClick = () => { setSelected(!isSelected) } return ( alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > alert('helllooooo')} > ) } }