Skip to content

Commit 7db683d

Browse files
authored
feat(list.stories.tsx): add horizontal stories (#1180)
1 parent 1fbe6ca commit 7db683d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/components/List/List.stories.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,20 @@ OrderedList.args = {
7979
</>
8080
),
8181
};
82+
83+
export const HorizontalList = Template.bind({});
84+
HorizontalList.storyName = 'Horizontal';
85+
HorizontalList.args = {
86+
horizontal: true,
87+
children: (
88+
<>
89+
<List.Item>About</List.Item>
90+
<List.Item>Premium</List.Item>
91+
<List.Item>Campaigns</List.Item>
92+
<List.Item>Blog</List.Item>
93+
<List.Item>Affiliate Program</List.Item>
94+
<List.Item>FAQs</List.Item>
95+
<List.Item>Contact</List.Item>
96+
</>
97+
),
98+
};

0 commit comments

Comments
 (0)