Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / packages/design-system/components/shadcn/label.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | packages/design-system/components/shadcn/label.tsx |
| Original SHA-256 | 226a05160b5733604915d7e3b9719cccbcce68209cd10acb730df576f0b0f9b0 |
| Git blob SHA | 2056dde75b932156e2881bd4e0673fa735353034 |
| Reading-copy SHA-256 | 226a05160b5733604915d7e3b9719cccbcce68209cd10acb730df576f0b0f9b0 |
Recovered source transcript
Download complete source text ↓22 lines · 0.6 KB
'use client'
import * as LabelPrimitive from '@radix-ui/react-label'
import * as React from 'react'
import { cn } from '../../lib/utils'
function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>) {
return (
<LabelPrimitive.Root
data-slot="label"
className={cn(
'text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',
className
)}
{...props}
/>
)
}
export { Label }