From 4ba93b62e1fa9bca445ef3115f29e3599c49a879 Mon Sep 17 00:00:00 2001 From: Yossi Saadi Date: Sun, 14 Apr 2024 18:38:42 +0300 Subject: [PATCH] docs(LegacySearch): add import statement from root, add deprecation warning --- .../LegacySearch/__stories__/LegacySearch.mdx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/core/src/components/LegacySearch/__stories__/LegacySearch.mdx b/packages/core/src/components/LegacySearch/__stories__/LegacySearch.mdx index 29e899e706..0c8d159173 100644 --- a/packages/core/src/components/LegacySearch/__stories__/LegacySearch.mdx +++ b/packages/core/src/components/LegacySearch/__stories__/LegacySearch.mdx @@ -1,5 +1,5 @@ import { Canvas, Meta } from "@storybook/blocks"; -import { UsageGuidelines } from "vibe-storybook-components"; +import { DeprecatedWarning, UsageGuidelines } from "vibe-storybook-components"; import { COMBOBOX, DROPDOWN, @@ -12,6 +12,8 @@ import * as LegacySearchStories from "./LegacySearch.stories"; # LegacySearch + + - [Overview](#overview) - [Props](#props) - [Usage](#usage) @@ -27,6 +29,12 @@ LegacySearch lets users quickly find relevant content. A search field allows a u +## Import + +```ts +import { Search } from "monday-ui-react-core"; +``` + ## Props