From ea882de7c76461e4ea381e7d80286c6159d6af9d Mon Sep 17 00:00:00 2001 From: Mike Perrotti Date: Thu, 24 Feb 2022 16:20:35 -0500 Subject: [PATCH] cleanup --- docs/content/Label.mdx | 11 ++--------- docs/content/Label_deprecated.mdx | 4 +--- src/Label_deprecated.tsx | 1 + 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/docs/content/Label.mdx b/docs/content/Label.mdx index 5687f1e9cea..333b21a4df5 100644 --- a/docs/content/Label.mdx +++ b/docs/content/Label.mdx @@ -1,6 +1,6 @@ --- -title: Label v2 -componentId: label2 +title: Label +componentId: label status: Alpha source: https://github.com/primer/react/tree/main/src/Label2 storybook: '/react/storybook?path=story/labels-label--label' @@ -12,17 +12,12 @@ description: Use Label components to add contextual metadata to a design. ### Basic ```javascript live noinline -// import {Label} from '@primer/react/drafts' -const {Label} = drafts // ignore docs silliness; import like that ↑ - render() ``` ### Variants ```javascript live noinline -// import {Label} from '@primer/react/drafts' -const {Label} = drafts // ignore docs silliness; import like that ↑ render( <> @@ -42,8 +37,6 @@ render( ### Sizes ```javascript live noinline -// import {Label} from '@primer/react/drafts' -const {Label} = drafts // ignore docs silliness; import like that ↑ render( <> diff --git a/docs/content/Label_deprecated.mdx b/docs/content/Label_deprecated.mdx index 5986a4aba07..6546cc905ec 100644 --- a/docs/content/Label_deprecated.mdx +++ b/docs/content/Label_deprecated.mdx @@ -6,15 +6,13 @@ source: https://github.com/primer/react/blob/main/src/Label.tsx componentId: legacy_label --- -import {Label} from '@primer/react/deprecated' - ## Deprecation Use the new [Label](/Label) instead. ## Example -```jsx live +```jsx live deprecated <>