Skip to content

Commit

Permalink
fix DropdownNav stories
Browse files Browse the repository at this point in the history
  • Loading branch information
winkerVSbecks committed Jul 29, 2024
1 parent 34f0102 commit e4b54d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Navigation/DropdownNav.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const Collapsed: Story = {

export const OneGroup: Story = {
args: {
groups: mockSidebarItems,
groups: [mockSidebarItems[0]],
},
decorators: [(storyFn) => <div style={{ height: "800px" }}>{storyFn()}</div>],
play: async ({ canvasElement }) => {
Expand All @@ -94,7 +94,7 @@ export const OneGroup: Story = {

export const MultipleGroups: Story = {
args: {
groups: [mockSidebarItems[0]],
groups: mockSidebarItems,
},
decorators: [(storyFn) => <div style={{ height: "800px" }}>{storyFn()}</div>],
play: OneGroup.play,
Expand All @@ -103,7 +103,7 @@ export const MultipleGroups: Story = {
export const ActiveUrlBreadcrumb: Story = {
args: {
url: "/docs/storybook",
groups: [{ ...mockSidebarItems[0] }, mockSidebarItems[1]],
groups: mockSidebarItems,
},
decorators: [(storyFn) => <div style={{ height: "800px" }}>{storyFn()}</div>],
play: OneGroup.play,
Expand Down

0 comments on commit e4b54d7

Please sign in to comment.