Function
Label
({ className, ...props }: React.ComponentProps<"label">)
Source from the content-addressed store, hash-verified
| 5 | import { cn } from "@/lib/utils"; |
| 6 | |
| 7 | function Label({ className, ...props }: React.ComponentProps<"label">) { |
| 8 | return ( |
| 9 | <label |
| 10 | data-slot="label" |
| 11 | className={cn( |
| 12 | "gap-2 text-xs leading-none group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed", |
| 13 | className |
| 14 | )} |
| 15 | {...props} |
| 16 | /> |
| 17 | ); |
| 18 | } |
| 19 | |
| 20 | export { Label }; |
Callers
nothing calls this directly
Tested by
no test coverage detected