import {FormContainerComponent as FormContainer} from './form-container.component';
import type {Meta, StoryObj} from '@storybook/react';
import React from 'react';

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

type Story = StoryObj<typeof FormContainer>;

export const Default: Story = {
    render: (args) => (
        <FormContainer {...args} data-testid='form-container'>
            <input />
        </FormContainer>
    ),
    args: {
        label: 'Email',
        hint: 'This is a hint text to help user.',
        error: false,
        mandatory: false,
    },
};
