| 1 | "use client"; |
| 2 | |
| 3 | import * as React from |
| 4 | import { cn } |
| 5 | import { Label as |
| 6 | |
| 7 | function Label({ |
| 8 | className, |
| 9 | ...props |
| 10 | }: React. |
| 11 | return ( |
| 12 | <LabelPrimitive.Root |
| 13 | data-slot="label" |
| 14 | className={cn( |
| 15 | "flex items-center gap-2 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", |
| 16 | className, |
| 17 | )} |
| 18 | {...props} |
| 19 | /> |
| 20 | ); |
| 21 | } |
| 22 | |
| 23 | export { Label }; |