mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
* implement reverse proxy --------- Co-authored-by: Alisdair MacLeod <git@alisdairmacleod.co.uk> Co-authored-by: mlsmaycon <mlsmaycon@gmail.com> Co-authored-by: Eduard Gert <kontakt@eduardgert.de> Co-authored-by: Viktor Liu <viktor@netbird.io> Co-authored-by: Diego Noguês <diego.sure@gmail.com> Co-authored-by: Diego Noguês <49420+diegocn@users.noreply.github.com> Co-authored-by: Bethuel Mmbaga <bethuelmbaga12@gmail.com> Co-authored-by: Zoltan Papp <zoltan.pmail@gmail.com> Co-authored-by: Ashley Mensah <ashleyamo982@gmail.com>
20 lines
531 B
TypeScript
20 lines
531 B
TypeScript
import { cn } from "@/utils/helpers";
|
|
|
|
type LabelProps = React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
|
|
export function Label({ className, htmlFor, ...props }: Readonly<LabelProps>) {
|
|
return (
|
|
<label
|
|
htmlFor={htmlFor}
|
|
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}
|
|
/>
|
|
);
|
|
}
|