18F/e-QIP-prototype

View on GitHub
src/components/Form/Generic/Generic.stories.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react'
import { storiesOf } from '@storybook/react'

import Generic from './Generic'

storiesOf('Generic', module)
  .add('default', () => (
    <Generic
      label="Generic input"
    />
  ))
  .add('disabled', () => (
    <Generic
      label="Generic input"
      disabled
    />
  ))
  .add('with error', () => (
    <Generic
      label="Generic input"
      className="usa-input-error"
    />
  ))