MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / FieldTitle

Function FieldTitle

packages/react/src/components/field.tsx:119–130  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected