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

Function FormDescription

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

Source from the content-addressed store, hash-verified

106}
107
108function FormDescription({ className, ...props }: React.ComponentProps<"p">) {
109 const { formDescriptionId } = useFormField();
110
111 return (
112 <p
113 data-slot="form-description"
114 id={formDescriptionId}
115 className={cn("text-sm text-muted-foreground", className)}
116 {...props}
117 />
118 );
119}
120
121function FormMessage({ className, ...props }: React.ComponentProps<"p">) {
122 const { error, formMessageId } = useFormField();

Callers

nothing calls this directly

Calls 2

cnFunction · 0.90
useFormFieldFunction · 0.85

Tested by

no test coverage detected