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

Function FieldDescription

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

Source from the content-addressed store, hash-verified

129}
130
131function FieldDescription({ className, ...props }: React.ComponentProps<"p">) {
132 return (
133 <p
134 data-slot="field-description"
135 className={cn(
136 "text-muted-foreground text-left text-xs/relaxed [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance",
137 "last:mt-0 nth-last-2:-mt-1",
138 "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
139 className
140 )}
141 {...props}
142 />
143 );
144}
145
146function FieldSeparator({
147 children,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected