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

Function FieldDescription

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected