Skip to content

Commit

Permalink
correct story configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelmarconi committed Aug 2, 2024
1 parent 08db47a commit 079c7b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
7 changes: 0 additions & 7 deletions src/lib/Icons/IconPlus.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
export const meta = {
title: "Components/Icons",
// includeStories: ["Default", "WithColor","ChangingSize"],
// excludeStories: ["PlusPreview"],
component: IconPlus,
//tags: ["autodocs"],
argTypes: {
Expand Down Expand Up @@ -37,7 +35,6 @@
}
}
};
</script>

<script>
Expand All @@ -50,10 +47,6 @@
</Template>

<Story name="Default" />

<Story name="PlusPreview">
<IconPlus size={25}/>
</Story>

<Story name="WithColor">
<IconPlus fill={urbanColors.blue} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@ Any of these icons can be pulled in as standalone components. They are intended

<IconGallery>
<IconItem name="<IconPlus/>">
<Story of={PlusStories.PlusPreview}/>
<svg
width={25}
height={25}
viewBox="0 0 48 48"
fill="none"
xmlns="http://www.w3.org/2000/svg"
role="img"
aria-label="Plus icon"
>
<path d="M0 27V21H48V27H0Z M28 48H22L22 2.62268e-07L28 0L28 48Z" fill="#000" />
</svg>
</IconItem>
<IconItem name="<IconMinus/>">
<Story of={MinusStory.MinusPreview}/>
Expand Down

0 comments on commit 079c7b9

Please sign in to comment.