Skip to content

Commit 6edf067

Browse files
committed
[#47] ✅ Add Storybook examples for Label component with layout prop
1 parent d6248ee commit 6edf067

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/stories/common/label/Label.stories.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,16 @@ export const RequiredLabel: Story = {
4242
</Label>
4343
),
4444
}
45+
46+
export const RowRayout: Story = {
47+
args: {
48+
labelText: '이메일',
49+
required: true,
50+
layout: 'row',
51+
},
52+
render: (args: LabelProps) => (
53+
<Label {...args}>
54+
<TextInput placeholder='이메일을 입력하세요' />
55+
</Label>
56+
),
57+
}

0 commit comments

Comments
 (0)