From 7cd108b878c9e740b7aa5a28ba7f9ff3e8c1b42a Mon Sep 17 00:00:00 2001 From: Gaby Zifferman Date: Mon, 18 Nov 2024 19:59:44 +0100 Subject: [PATCH] docs: add tour and badge to canvas stories --- docs/components/Data Display/Badge/Documentation.mdx | 4 +++- docs/components/Data Display/Tour/Documentation.mdx | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/components/Data Display/Badge/Documentation.mdx b/docs/components/Data Display/Badge/Documentation.mdx index aa0361802..a2586da0f 100644 --- a/docs/components/Data Display/Badge/Documentation.mdx +++ b/docs/components/Data Display/Badge/Documentation.mdx @@ -1,6 +1,6 @@ import { Meta, Canvas } from '@storybook/blocks' -import * as BadgeStories from '../../../../src/components/data-display/Badge/Badge.stories' +import * as BadgeStories from '../../../../src/components/data-display/Badge/Badge.stories'; @@ -25,6 +25,8 @@ Use **Badge** when a status needs to be displayed next to an element in a compac ### [Status Badge](https://mparticle.github.io/aquarium/?path=/story/components-data-display-badge--example-status) + + #### When to Use For displaying status with accompanying text (e.g., "Active," "Failed," or "Draft"), use the **Status Badge**. This provides both a visual indicator and descriptive text to communicate the item's state. diff --git a/docs/components/Data Display/Tour/Documentation.mdx b/docs/components/Data Display/Tour/Documentation.mdx index 190b0f6b8..5e559f00c 100644 --- a/docs/components/Data Display/Tour/Documentation.mdx +++ b/docs/components/Data Display/Tour/Documentation.mdx @@ -1,6 +1,6 @@ import { Meta, Canvas } from '@storybook/blocks' -import * as TourStories from '../../../../src/components/data-display/Tour/Tour.stories' +import TourMeta, * as TourStories from '../../../../src/components/data-display/Tour/Tour.stories'; @@ -24,4 +24,4 @@ Use the Tour component when: {/* Documentation goes here */} - +