import { type Meta, type StoryFn, type StoryObj } from '@storybook/react' import { CheckableAvatar } from './CheckableAvatar' import type { CheckableAvatarProps } from './CheckableAvatar.types' const meta: Meta = { component: CheckableAvatar, argTypes: { checked: { control: { type: 'boolean', }, }, }, } export default meta const Template: StoryFn = ({ children, ...rest }) => ( {children} ) export const Primary: StoryObj = { render: Template, args: { avatarUrl: 'https://cf.channel.io/thumb/200x200/pub-file/1/65fc43ee585607b276f6/tmp-3329819395', name: 'Channel', size: '24', checked: undefined, defaultChecked: false, disabled: false, showBorder: false, }, }