Skip to content

Commit

Permalink
fix story
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Feb 25, 2022
1 parent e0ef768 commit 8c77a93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stories/TextField.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ export const Gallery = () => (
);

const Template: Story<TextFieldProps> = args => (
<TextField {...args}>Label Text</TextField>
<Form>
<TextField {...args}>Label Text</TextField>
</Form>
);

// By passing using the Args format for exported stories, you can control the props for a component for reuse in a test
Expand Down

0 comments on commit 8c77a93

Please sign in to comment.