MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / FieldTitle

Function FieldTitle

components/ui/field.tsx:118–129  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

116}
117
118function FieldTitle({ className, ...props }: React.ComponentProps<"div">) {
119 return (
120 <div
121 data-slot="field-label"
122 className={cn(
123 "gap-2 text-xs/relaxed group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug",
124 className
125 )}
126 {...props}
127 />
128 );
129}
130
131function FieldDescription({ className, ...props }: React.ComponentProps<"p">) {
132 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected