Skip to content

Commit 730fc82

Browse files
docs(ui): show ghost input without a bordered wrapper
1 parent aac4b70 commit 730fc82

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎packages/swingset/src/stories/input.stories.tsx‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,10 @@ export function Invalid(props: Record<string, unknown>) {
8181

8282
export function Ghost(props: Record<string, unknown>) {
8383
return (
84-
<div style={{ border: '1px solid currentColor', borderRadius: 8 }}>
85-
<Input
86-
{...knobsAsProps(props)}
87-
variant='ghost'
88-
placeholder='Parent provides the field chrome'
89-
/>
90-
</div>
84+
<Input
85+
{...knobsAsProps(props)}
86+
variant='ghost'
87+
placeholder='Enter text…'
88+
/>
9189
);
9290
}

0 commit comments

Comments
 (0)