Skip to content

Commit

Permalink
feat(status): 🔖 add status to Icon and its Gallery (attempt)
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenSibon committed May 15, 2024
1 parent 1271758 commit 1338656
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions storybook/src/components/Icon/Icon.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const meta = {
mapping: Icons,
},
},
parameters: {
status: {
type: 'beta',
},
},
} satisfies Meta<typeof Icon>

export default meta
Expand Down
6 changes: 4 additions & 2 deletions storybook/src/docs/icon-gallery.docs.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Meta } from "@storybook/blocks";
import { Meta } from "@storybook/addon-docs/blocks";
import { AmsterdamIconGallery } from "./components/AmsterdamIconGallery";

<Meta title="Docs/Assets/Icons" />
{/* Below "parameters" prop does not seem to work; see docs: https://github.com/etchteam/storybook-addon-status?tab=readme-ov-file#story-usage */}

<Meta title="Docs/Assets/Icons" parameters={{ status: { type: "beta" } }} />

# Icons

Expand Down

0 comments on commit 1338656

Please sign in to comment.