import {InputComponent as Input} from './input.component';
import type {Meta, StoryObj} from '@storybook/react';
import React from 'react';

const meta: Meta<typeof Input> = {
    title: 'Molecules/Input',
    component: Input,
};
export default meta;

type Story = StoryObj<typeof Input>;

export const Default: Story = {
    render: (args) => <Input {...args} data-testid='input' />,
    args: {
        label: 'Email',
        hint: 'This is a hint text to help user.',
        error: false,
        disabled: false,
        placeholder: 'olivia@untitledui.com',
        mandatory: true,
    },
};
