lightswind
Version:
A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.
10 lines (9 loc) • 451 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
// @ts-nocheck
import * as React from "react";
import { cn } from "../../lib/utils";
const Label = React.forwardRef(({ className, htmlFor, ...props }, ref) => {
return (_jsx("label", { ref: ref, htmlFor: htmlFor, className: cn("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", className), ...props }));
});
Label.displayName = "Label";
export { Label };