1"use client"
2
3import * as LabelPrimitive from "@radix-ui/react-label"
4
5import * as React from "react"
6
7import { cn } from "@/lib/utils"
8
9function Label({
10 className,
11 ...props
12}: React.ComponentProps<typeof LabelPrimitive.Root>) {
13 return (
14 <LabelPrimitive.Root
15 data-slot="label"
16 className={cn(
17 "text-sm font-heading leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
18 className,
19 )}
20 {...props}
21 />
22 )
23}
24
25export { Label }
26