MCPcopy
hub / github.com/tinyauthapp/tinyauth / Label

Function Label

frontend/src/components/ui/label.tsx:6–20  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof LabelPrimitive.Root>)

Source from the content-addressed store, hash-verified

4import { cn } from "@/lib/utils";
5
6function Label({
7 className,
8 ...props
9}: React.ComponentProps<typeof LabelPrimitive.Root>) {
10 return (
11 <LabelPrimitive.Root
12 data-slot="label"
13 className={cn(
14 "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
15 className,
16 )}
17 {...props}
18 />
19 );
20}
21
22export { Label };

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected