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

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

export default meta;

const Template: Story<DrawerProps> = (args) => <Drawer {...args}>Drawer</Drawer>;

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

Default.args = {};
