Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
"use client";
import type { VariantProps } from "class-variance-authority";
import { cva } from "class-variance-authority";
import type * as React from "react";
import { cn } from "./lib/utils";
const labelVariants = cva(
"text-foreground text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
);
function Label({
className,
...props
}: React.ComponentProps<"label"> & VariantProps<typeof labelVariants>) {
return (
// biome-ignore lint/a11y/noLabelWithoutControl: htmlFor and children arrive via props
<label
data-slot="label"
className={cn(labelVariants(), className)}
{...props}
/>
);
}
export { Label };