From 56bf5681a237f20cea8bb7850649679db9b8be4d Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Aug 2020 11:04:01 -0700 Subject: [PATCH] feat #65 - Add argTypes to fix Form stories --- src/components/Form/Form.stories.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/Form/Form.stories.tsx b/src/components/Form/Form.stories.tsx index d3ae4352..a8497af9 100644 --- a/src/components/Form/Form.stories.tsx +++ b/src/components/Form/Form.stories.tsx @@ -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