Skip to content

Commit

Permalink
docs(725): removed fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravindren authored and Ravindren committed May 18, 2023
1 parent 2eef635 commit 2fef77f
Showing 1 changed file with 22 additions and 24 deletions.
46 changes: 22 additions & 24 deletions src/title-bar/__tests__/title-bar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,31 +52,29 @@ export const StoryTitleBar = () => <TitleBar>{STRING}</TitleBar>;
StoryTitleBar.storyName = 'Default';

export const StoryTitleBarLink = () => (
<>
<StorybookPage columns=".5fr">
<StorybookCase title="Link">
<TitleBar actionItem={link}>{STRING}</TitleBar>
</StorybookCase>
<StorybookCase title="Button">
<TitleBar actionItem={button}>{STRING}</TitleBar>
</StorybookCase>
<StorybookCase title="Icon">
<TitleBar>
<IconContainer>
{STRING}
<IconFilledStarOutline
overrides={{size: 'iconSize020', marginInlineStart: 'space030'}}
/>
</IconContainer>
</TitleBar>
</StorybookCase>
<StorybookCase title="Action hidden in SM and MD">
<TitleBar hideActionItemOn={{sm: true, md: true}} actionItem={button}>
<StorybookPage columns=".5fr">
<StorybookCase title="Link">
<TitleBar actionItem={link}>{STRING}</TitleBar>
</StorybookCase>
<StorybookCase title="Button">
<TitleBar actionItem={button}>{STRING}</TitleBar>
</StorybookCase>
<StorybookCase title="Icon">
<TitleBar>
<IconContainer>
{STRING}
</TitleBar>
</StorybookCase>
</StorybookPage>
</>
<IconFilledStarOutline
overrides={{size: 'iconSize020', marginInlineStart: 'space030'}}
/>
</IconContainer>
</TitleBar>
</StorybookCase>
<StorybookCase title="Action hidden in SM and MD">
<TitleBar hideActionItemOn={{sm: true, md: true}} actionItem={button}>
{STRING}
</TitleBar>
</StorybookCase>
</StorybookPage>
);
StoryTitleBarLink.storyName = 'Variations';

Expand Down

0 comments on commit 2fef77f

Please sign in to comment.