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 <>