import React from 'react';
import { Meta, Story } from '@storybook/react';
import { Tab } from '../../index';
import description from './Tab.md';
import { TabProps } from './Tab';

const meta: Meta = {
  title: 'Components/Tab',
  component: Tab,
  parameters: {
    docs: {
      description: {
        component: description,
      },
    },
  },
  argTypes: {
    children: {
      table: {
        disable: true,
      },
    },
    className: {
      type: 'string',
    },
  },
};

export default meta;

const Template: Story<TabProps> = (args) => <Tab {...args}>Tab</Tab>;

export const Default = Template.bind({});

Default.args = {};
