Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Add side prop to ScrollingHorizontal and ScrollingVertical stories
Browse files Browse the repository at this point in the history
  • Loading branch information
thevuong committed Mar 15, 2024
1 parent 2485ae8 commit fe4aa47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/docs/src/stories/drawer/drawer.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export const Simple: Story = {
};

export const ScrollingHorizontal: Story = {
args: {
side: 'right',
},
render: (args) => (
<Drawer {...args}>
<DrawerTrigger asChild>
Expand Down Expand Up @@ -101,6 +104,9 @@ export const ScrollingHorizontal: Story = {
};

export const ScrollingVertical: Story = {
args: {
side: 'top',
},
render: (args) => (
<Drawer {...args}>
<DrawerTrigger asChild>
Expand Down

0 comments on commit fe4aa47

Please sign in to comment.