From 6b59491039dd57603b4cf72c89009b61aedb7047 Mon Sep 17 00:00:00 2001
From: Anna Wen <54281166+annawen1@users.noreply.github.com>
Date: Wed, 9 Oct 2024 10:19:32 -0400
Subject: [PATCH] chore(storybook): move feature flag overview under welcome
(#17685)
---
.../src/components/FeatureFlags/overview.mdx | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/packages/react/src/components/FeatureFlags/overview.mdx b/packages/react/src/components/FeatureFlags/overview.mdx
index 410b0f632d7e..e924beaa78b9 100644
--- a/packages/react/src/components/FeatureFlags/overview.mdx
+++ b/packages/react/src/components/FeatureFlags/overview.mdx
@@ -1,6 +1,6 @@
import { Meta } from '@storybook/blocks';
-
+
# Feature Flags
@@ -117,11 +117,14 @@ Feature flags can also be enabled via the provided `enable()` mixin
## FeatureFlags Prop Update
-The `FeatureFlags` component has been updated to improve compatibility. The `flags` object prop is now deprecated and is replaced with individual boolean props for each feature flag.
-
-The `flags` prop will be removed in a future release. Instead, use individual boolean props for each feature flag.
-A `featureflag-deprecate-flags-prop` codemod has been provided to help deprecate the `flags` object prop and switch to individual boolean props.
+The `FeatureFlags` component has been updated to improve compatibility. The
+`flags` object prop is now deprecated and is replaced with individual boolean
+props for each feature flag.
+The `flags` prop will be removed in a future release. Instead, use individual
+boolean props for each feature flag. A `featureflag-deprecate-flags-prop`
+codemod has been provided to help deprecate the `flags` object prop and switch
+to individual boolean props.
```bash
npx @carbon/upgrade migrate featureflag-deprecate-flags-prop --write
@@ -130,9 +133,9 @@ npx @carbon/upgrade migrate featureflag-deprecate-flags-prop --write
```jsx
//Before migration
-
@@ -143,4 +146,4 @@ npx @carbon/upgrade migrate featureflag-deprecate-flags-prop --write
-```
\ No newline at end of file
+```