import React from 'react';
import { Meta, Story } from '@storybook/react';
import { AtomInputNumber, IInputNumberProps } from 'native/atoms/Input/InputNumber';

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

export default meta;

const TemplateInputNumber: Story<IInputNumberProps> = (props) => <AtomInputNumber {...props} />;

export const InputNumber = TemplateInputNumber.bind({});

InputNumber.args = {
  disabled: false
};
