diff --git a/src/components/forms/Label/Label.stories.tsx b/src/components/forms/Label/Label.stories.tsx index 048b22882..3473bed09 100644 --- a/src/components/forms/Label/Label.stories.tsx +++ b/src/components/forms/Label/Label.stories.tsx @@ -1,6 +1,7 @@ import React from 'react' import { Label } from './Label' import type { Meta, StoryObj } from '@storybook/react-vite' +import { Form } from '../Form/Form' const meta = { title: 'Components/Form elements/Label', @@ -17,6 +18,11 @@ Source: https://designsystem.digital.gov/components/form-controls/ }, }, args: { htmlFor: 'testInput', children: 'Text input' }, + render: (args) => ( +
+ ), } satisfies Meta