"use client"
import * as React from "react"
import { cn } from "cn"
import {
LabelContext,
Label as LabelPrimitive,
type LabelProps,
} from "react-aria-components"
function Label({ className, htmlFor, slot, ...props }: LabelProps) {
const label = (
)
if (htmlFor && slot === undefined) {
return {label}
}
return label
}
export { Label }