import React from 'react'
import { storiesOf, action } from '@storybook/react'
import StoryWrapper from 'storybookComponents/StoryWrapper'
import ContributeButton from './index'

storiesOf('Contribute Button', module).addWithInfo(
  'basic usage',
  `
        This is the basic usage of the Contribute Button.

        #### Props:
        ---
        - role: string,
        - className ?: string,
        - onClick ?: () => {}
      `,
  () => (
    <StoryWrapper>
      <ContributeButton onClick={action('onClick')} />
    </StoryWrapper>
  )
)
