Skip to content

Commit

Permalink
Fix icons display of container stories
Browse files Browse the repository at this point in the history
  • Loading branch information
roshni73 authored and samshara committed Jun 17, 2024
1 parent bd2a47b commit 9a3b757
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/go-ui-storybook/src/stories/Container.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ export const FooterAction: Story = {
footerContent: 'Footer content',
filters: 'Filter content',
children: 'Container content',
footerActions: typeof Button,
footerActions: [
<Button
name={undefined}
>
save
</Button>,
],
},
};
export const WithFooterIcons: Story = {
Expand All @@ -75,7 +81,7 @@ export const WithFooterIcons: Story = {
footerContent: 'Footer content',
filters: 'Filter content',
children: 'Container content',
footerIcons: typeof WikiLineIcon,
footerIcons: <WikiLineIcon />,
},
};

Expand Down Expand Up @@ -126,7 +132,7 @@ export const WithIcons: Story = {
children: 'Container content',
contentViewType: 'default',
spacing: 'default',
icons: typeof WikiLineIcon,
icons: <WikiLineIcon />,
},
};

Expand Down

0 comments on commit 9a3b757

Please sign in to comment.