import Button from './Button';
import { action } from '@storybook/addon-actions';
import { Meta, Story } from '@storybook/addon-docs';

<Meta title='Button' />

<Story name='story1'><Button label='Story 1' /></Story>

<Story name='second story'><Button label='Story 2' onClick={action('click')} /></Story>

<Story name='complex story'><div>
    <Button label='The Button' onClick={action('onClick')} />
    <br />
  </div></Story>

<Story name='w/punctuation'>
  <Button label='w/punctuation'/>
</Story>