mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-17 21:10:48 +00:00
Reorder and normalize import statements, group icon imports, and add missing utility imports (cn). Fix export/newline formatting and minor type import tweaks. Add ESLint scripts to package.json and update the lockfile.
20 lines
439 B
TypeScript
Executable File
20 lines
439 B
TypeScript
Executable File
import * as React from "react"
|
|
import { cn } from "../../lib/utils"
|
|
|
|
const Label = React.forwardRef<
|
|
HTMLLabelElement,
|
|
React.LabelHTMLAttributes<HTMLLabelElement>
|
|
>(({ className, ...props }, ref) => (
|
|
<label
|
|
ref={ref}
|
|
className={cn(
|
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
className
|
|
)}
|
|
{...props}
|
|
/>
|
|
))
|
|
Label.displayName = "Label"
|
|
|
|
export { Label }
|