import Avatar from "../app/components/Avatar"; export default { title: "Components/Avatar", component: Avatar, parameters: { layout: "centered", docs: { description: { component: "A simple avatar component that displays user profile images with multiple size variants. Supports custom images and alt text for accessibility.", }, }, }, argTypes: { src: { control: { type: "text" }, description: "The source URL of the avatar image", }, alt: { control: { type: "text" }, description: "Alt text for accessibility", }, size: { control: { type: "select" }, options: ["small", "medium", "large", "xlarge"], description: "The size of the avatar", }, className: { control: { type: "text" }, description: "Additional CSS classes", }, }, tags: ["autodocs"], }; export const Default = { args: { src: "assets/Avatar_1.png", alt: "User Avatar", size: "medium", }, }; export const Sizes = { args: { src: "assets/Avatar_1.png", alt: "User Avatar", }, render: (args) => (