Skip to content

Commit

Permalink
feat #65 - Add argTypes to fix Form stories
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 25, 2020
1 parent 17d78d2 commit 56bf568
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Form/Form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import React from 'react'
import { Meta, Story } from '@storybook/react/types-6-0'

export default {
argTypes: {
initialValues: {
control: 'object',
defaultValue: { firstName: 'First Name' }
}
},
component: Form,
title: 'Form'
} as Meta
Expand Down

0 comments on commit 56bf568

Please sign in to comment.