Skip to content

Commit

Permalink
decorator for dropdownnav stories
Browse files Browse the repository at this point in the history
  • Loading branch information
winkerVSbecks committed Jul 29, 2024
1 parent 762f642 commit 3f7bb28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Navigation/DropdownNav.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export const MultipleGroups: Story = {
args: {
groups: [mockSidebarItems[0]],
},
decorators: [(storyFn) => <div style={{ height: "800px" }}>{storyFn()}</div>],
play: OneGroup.play,
};

Expand All @@ -104,5 +105,6 @@ export const ActiveUrlBreadcrumb: Story = {
url: "/docs/storybook",
groups: [{ ...mockSidebarItems[0] }, mockSidebarItems[1]],
},
decorators: [(storyFn) => <div style={{ height: "800px" }}>{storyFn()}</div>],
play: OneGroup.play,
};

0 comments on commit 3f7bb28

Please sign in to comment.