import React from 'react';
import { Meta, Story } from '@storybook/react';
import { AtomInputEmail, IInputEmailProps } from 'native/atoms/Input/InputEmail';

const meta: Meta = {
  title: 'React Native/atoms/Input',
  component: AtomInputEmail,
  argTypes: {
    errorCallback: {table: {disable: true}},
  },
  parameters: {
    controls: { expanded: true },
  },
};

export default meta;

const TemplateInputEmail: Story<IInputEmailProps> = (props) => <AtomInputEmail {...props} />;

export const InputEmail = TemplateInputEmail.bind({});

InputEmail.args = {
  disabled: false
};
