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

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

# VerificationCode

<Canvas>
  <Story name="default">
    <VerificationCode />
  </Story>
</Canvas>

#### Reference

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

<br />
<br />

### Props

<ArgsTable of={VerificationCode} />

### Stories

#### Invalid

<Canvas>
  <Story name="Invalid">
    <VerificationCode
      isValid={false}
      onChange={val => {
        console.log(val)
      }}
    />
  </Story>
</Canvas>
