From ffc26828403bd2c716339a347556606c0409cb2f Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Fri, 24 May 2024 02:20:18 +0800 Subject: [PATCH] Update label.mdx --- .../content/docs/components/label.mdx | 44 ++----------------- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/apps/design-system/content/docs/components/label.mdx b/apps/design-system/content/docs/components/label.mdx index 401bc583800..8b13a43f94b 100644 --- a/apps/design-system/content/docs/components/label.mdx +++ b/apps/design-system/content/docs/components/label.mdx @@ -14,57 +14,19 @@ source: Please use [FormLabel](/design-system/docs/components/form#anatomy) if you are using [Form](/design-system/docs/components/form) based components. -## Installation - - - - - CLI - Manual - - - -```bash -npx shadcn-ui@latest add label -``` - - - - - - - -Install the following dependencies: - -```bash -npm install @radix-ui/react-label -``` - -Copy and paste the following code into your project. - - - -Update the import paths to match your project setup. - - - - - - - ## Usage ```tsx -import { Label } from '@/components/ui/label' +import { Label_Shadcn_ } from '@/components/ui/label' ``` ```tsx - +Your email address ```