import { Meta, Story, ArgsTable, Canvas } from '@storybook/addon-docs/blocks'
import { action } from '@storybook/addon-actions'
import CopyButton from './'

<Meta
  title="Components/Buttons/CopyButton"
  component={CopyButton}
  parameters={{
    design: {
      type: 'figma',
      url:
        'https://www.figma.com/file/Wp9mDxTvWicSTWtezj2ImkMP/HSDS-Product?node-id=2582%3A7580',
    },
  }}
/>

# CopyButton

A button for copy action

<Canvas>
  <Story name="default">
    <CopyButton onClick={action('Click')} onReset={action('Reset')} />
  </Story>
</Canvas>

#### Reference

- **Designer**: Buzz
- **Engineering**: Juan Pablo
- **Usage**: Everywhere

<br />
<br />

### Props

<ArgsTable of={CopyButton} />
