From 2ed54698aaa3e9ed5162f4819b589b06b811b154 Mon Sep 17 00:00:00 2001 From: Tal Koren Date: Wed, 3 Apr 2024 14:46:01 +0300 Subject: [PATCH 1/2] docs: document import for EditableHeading --- .../EditableHeading/__stories__/EditableHeading.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/core/src/components/EditableHeading/__stories__/EditableHeading.mdx b/packages/core/src/components/EditableHeading/__stories__/EditableHeading.mdx index b8dcaa6a7e..8d944a466c 100644 --- a/packages/core/src/components/EditableHeading/__stories__/EditableHeading.mdx +++ b/packages/core/src/components/EditableHeading/__stories__/EditableHeading.mdx @@ -6,7 +6,7 @@ import { HEADING, TEXT } from "../../../storybook/components/related-components/component-description-map"; -import { TipEditableText } from "./EditableHeading.stories.helpers"; +import { TipEditableText, ImportTip } from "./EditableHeading.stories.helpers"; import * as EditableHeadingStories from "./EditableHeading.stories"; @@ -16,6 +16,7 @@ export const editableHeadingTemplate = createComponentTemplate(EditableHeading); # EditableHeading - [Overview](#overview) +- [Import](#import) - [Props](#props) - [Usage](#usage) - [Variants](#variants) @@ -28,6 +29,12 @@ Editable Heading allows users to seamlessly and dynamically edit in-line content +## Import + +```js +import { EditableHeading } from 'monday-ui-react-core/next'` +``` + ## Props From bb62b401d61058458a1f1499b4ce854a25fed806 Mon Sep 17 00:00:00 2001 From: Tal Koren Date: Wed, 3 Apr 2024 14:47:15 +0300 Subject: [PATCH 2/2] docs: remove unused import --- .../components/EditableHeading/__stories__/EditableHeading.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/EditableHeading/__stories__/EditableHeading.mdx b/packages/core/src/components/EditableHeading/__stories__/EditableHeading.mdx index 8d944a466c..0e59f0d19b 100644 --- a/packages/core/src/components/EditableHeading/__stories__/EditableHeading.mdx +++ b/packages/core/src/components/EditableHeading/__stories__/EditableHeading.mdx @@ -6,7 +6,7 @@ import { HEADING, TEXT } from "../../../storybook/components/related-components/component-description-map"; -import { TipEditableText, ImportTip } from "./EditableHeading.stories.helpers"; +import { TipEditableText } from "./EditableHeading.stories.helpers"; import * as EditableHeadingStories from "./EditableHeading.stories";