MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / FieldTitle

Function FieldTitle

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

Source from the content-addressed store, hash-verified

126}
127
128function FieldTitle({ className, ...props }: React.ComponentProps<"div">) {
129 return (
130 <div
131 data-slot="field-label"
132 className={cn(
133 "flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50",
134 className
135 )}
136 {...props}
137 />
138 )
139}
140
141function FieldDescription({ className, ...props }: React.ComponentProps<"p">) {
142 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected