| 1 | import { cn } from "@struxa/ui/lib/utils"; |
| 2 | import * as React |
| 3 | |
| 4 | function Label({ className |
| 5 | return ( |
| 6 | <label |
| 7 | data-slot="label" |
| 8 | className={cn( |
| 9 | "flex items-center gap-2 text-xs leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", |
| 10 | className, |
| 11 | )} |
| 12 | {...props} |
| 13 | /> |
| 14 | ); |
| 15 | } |
| 16 | |
| 17 | export { Label }; |