import type { Meta, StoryObj } from '@storybook/angular';
import { FileInputComponent } from './file-input.component';

const meta: Meta<FileInputComponent> = {
  title: 'Atoms/FileInput',
  component: FileInputComponent,
  render: (args) => ({
    props: args,
    template: `<app-file-input [inputId]="inputId" [accept]="accept" [multiple]="multiple" [disabled]="disabled" />`,
  }),
};
export default meta;
type Story = StoryObj<FileInputComponent>;

export const Default: Story = {
  args: { inputId: 'diploma', accept: ['application/pdf'], multiple: false, disabled: false },
};

export const Disabled: Story = {
  args: { inputId: 'diploma-disabled', accept: ['application/pdf'], multiple: false, disabled: true },
};
