From 13386568ff7973425303374bac1f745576138828 Mon Sep 17 00:00:00 2001 From: Ruben Sibon Date: Wed, 15 May 2024 17:08:42 +0200 Subject: [PATCH] feat(status): :bookmark: add status to Icon and its Gallery (attempt) --- storybook/src/components/Icon/Icon.stories.tsx | 5 +++++ storybook/src/docs/icon-gallery.docs.mdx | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/storybook/src/components/Icon/Icon.stories.tsx b/storybook/src/components/Icon/Icon.stories.tsx index 12fd25c2f1..4c28397ed6 100644 --- a/storybook/src/components/Icon/Icon.stories.tsx +++ b/storybook/src/components/Icon/Icon.stories.tsx @@ -19,6 +19,11 @@ const meta = { mapping: Icons, }, }, + parameters: { + status: { + type: 'beta', + }, + }, } satisfies Meta export default meta diff --git a/storybook/src/docs/icon-gallery.docs.mdx b/storybook/src/docs/icon-gallery.docs.mdx index 6a071155eb..22074491a8 100644 --- a/storybook/src/docs/icon-gallery.docs.mdx +++ b/storybook/src/docs/icon-gallery.docs.mdx @@ -1,7 +1,9 @@ -import { Meta } from "@storybook/blocks"; +import { Meta } from "@storybook/addon-docs/blocks"; import { AmsterdamIconGallery } from "./components/AmsterdamIconGallery"; - +{/* Below "parameters" prop does not seem to work; see docs: https://github.com/etchteam/storybook-addon-status?tab=readme-ov-file#story-usage */} + + # Icons