Skip to content

Commit

Permalink
Fixed Text Docs not rendering issue in Storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvdabhi101 committed May 22, 2023
1 parent 9d38e53 commit 662d476
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui/components/component-library/text/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Use the `fontWeight` prop and the `FontWeight` enum from `./ui/helpers/constants
- `FontWeight.Bold` = `bold` || `700`

<Canvas>
<Story id="components-componentlibrary-text--font-weight" />
<Story id="components-componentlibrary-text--font-weight-story" />
</Canvas>

```jsx
Expand All @@ -145,7 +145,7 @@ Use the `fontStyle` prop and the `FontStyle` enum from `./ui/helpers/constants/d
- `FontStyle.Italic`

<Canvas>
<Story id="components-componentlibrary-text--font-style" />
<Story id="components-componentlibrary-text--font-style-story" />
</Canvas>

```jsx
Expand All @@ -165,7 +165,7 @@ import { FontStyle } from '../../../helpers/constants/design-system';
Use the `textTransform` prop and the `TextTransform` enum from `./ui/helpers/constants/design-system.ts` to change the text alignment of the `Text` component

<Canvas>
<Story id="components-componentlibrary-text--text-transform" />
<Story id="components-componentlibrary-text--text-transform-story" />
</Canvas>

```jsx
Expand All @@ -188,7 +188,7 @@ import { TextTransform } from '../../../helpers/constants/design-system';
Use the `textAlign` prop and the `TextAlign` enum from `./ui/helpers/constants/design-system.ts` to change the text alignment of the `Text` component

<Canvas>
<Story id="components-componentlibrary-text--text-align" />
<Story id="components-componentlibrary-text--text-align-story" />
</Canvas>

```jsx
Expand Down Expand Up @@ -217,7 +217,7 @@ import { TextAlign } from '../../../helpers/constants/design-system';
Use the `overflowWrap` prop and the `OverflowWrap` enum from `./ui/helpers/constants/design-system.ts` to change the overflow wrap of the `Text` component

<Canvas>
<Story id="components-componentlibrary-text--overflow-wrap" />
<Story id="components-componentlibrary-text--overflow-wrap-story" />
</Canvas>

```jsx
Expand Down

0 comments on commit 662d476

Please sign in to comment.