Skip to content

Commit

Permalink
feat(list.stories.tsx): add horizontal stories (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
paghar authored Dec 12, 2023
1 parent 1fbe6ca commit 7db683d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/components/List/List.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,20 @@ OrderedList.args = {
</>
),
};

export const HorizontalList = Template.bind({});
HorizontalList.storyName = 'Horizontal';
HorizontalList.args = {
horizontal: true,
children: (
<>
<List.Item>About</List.Item>
<List.Item>Premium</List.Item>
<List.Item>Campaigns</List.Item>
<List.Item>Blog</List.Item>
<List.Item>Affiliate Program</List.Item>
<List.Item>FAQs</List.Item>
<List.Item>Contact</List.Item>
</>
),
};

1 comment on commit 7db683d

@vercel
Copy link

@vercel vercel bot commented on 7db683d Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.