Skip to content

Commit d7fd3aa

Browse files
authored
Update FormControl.stories.tsx to no longer use styled-components (#6584)
1 parent e415327 commit d7fd3aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react/src/FormControl/FormControl.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {useState} from 'react'
22
import type {Meta} from '@storybook/react-vite'
3-
import {Box, Checkbox, FormControl, TextInput, TextInputWithTokens} from '..'
3+
import {Checkbox, FormControl, TextInput, TextInputWithTokens} from '..'
44
import type {FormValidationStatus} from '../utils/types/FormValidationStatus'
55

66
export default {
@@ -71,7 +71,7 @@ export const Playground = ({
7171
}
7272

7373
return (
74-
<Box>
74+
<form>
7575
<FormControl disabled={disabled} required={required}>
7676
<FormControl.Label>Name</FormControl.Label>
7777
<TextInput />
@@ -91,6 +91,6 @@ export const Playground = ({
9191
<FormControl.Label>Default label</FormControl.Label>
9292
<TextInputWithTokens tokens={tokens} onTokenRemove={onTokenRemove} />
9393
</FormControl>
94-
</Box>
94+
</form>
9595
)
9696
}

0 commit comments

Comments
 (0)