import { fn } from '@storybook/test';
import { AttachmentCard } from './attachment-card.js';
const meta = {
    title: 'Common/AttachmentCard',
    component: AttachmentCard,
    tags: ['autodocs'],
    args: {
        onRemove: fn(),
    },
};
export default meta;
export const ImageFile = {
    args: {
        name: 'screenshot.png',
        size: 150000,
        mimeType: 'image/png',
    },
};
export const PdfFile = {
    args: {
        name: 'requirements.pdf',
        size: 42000,
        mimeType: 'application/pdf',
    },
};
export const CodeFile = {
    args: {
        name: 'index.ts',
        size: 1024,
        mimeType: 'text/typescript',
    },
};
export const UnknownFile = {
    args: {
        name: 'data.bin',
        size: 8192,
        mimeType: 'application/octet-stream',
    },
};
export const Loading = {
    args: {
        name: 'uploading-image.png',
        size: 0,
        mimeType: 'image/png',
        loading: true,
    },
};
export const Disabled = {
    args: {
        name: 'screenshot.png',
        size: 150000,
        mimeType: 'image/png',
        disabled: true,
    },
};
