mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 15:26:40 +00:00
19 lines
488 B
TypeScript
19 lines
488 B
TypeScript
import { cn } from "@/utils/helpers";
|
|
|
|
type LabelProps = React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
|
|
export function Label({ className, ...props }: LabelProps) {
|
|
return (
|
|
<label
|
|
className={cn(
|
|
"text-sm font-medium tracking-wider leading-none",
|
|
"peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
"mb-2.5 inline-block text-nb-gray-200",
|
|
"flex items-center gap-2 select-none",
|
|
className
|
|
)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|