import { Meta, StoryObj } from '@storybook/react';
import { fn } from '@storybook/test';

import { DateInput } from '..';

const meta = {
  component: DateInput,
  title: 'Forms/DateInput',
  tags: ['autodocs'],
} satisfies Meta<typeof DateInput>;

export default meta;

type Story = StoryObj<typeof meta>;

export const Basic = {
  args: {
    onChange: fn(),
  },
} satisfies Story;
