MCPcopy Index your code
hub / github.com/TheOrcDev/github-creature / Label

Function Label

components/ui/label.tsx:7–18  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"label">)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected