MCPcopy Index your code
hub / github.com/code-with-antonio/nodebase / FormDescription

Function FormDescription

src/components/ui/form.tsx:125–136  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"p">)

Source from the content-addressed store, hash-verified

123}
124
125function FormDescription({ className, ...props }: React.ComponentProps<"p">) {
126 const { formDescriptionId } = useFormField()
127
128 return (
129 <p
130 data-slot="form-description"
131 id={formDescriptionId}
132 className={cn("text-muted-foreground text-sm", className)}
133 {...props}
134 />
135 )
136}
137
138function FormMessage({ className, ...props }: React.ComponentProps<"p">) {
139 const { error, formMessageId } = useFormField()

Callers

nothing calls this directly

Calls 2

cnFunction · 0.90
useFormFieldFunction · 0.85

Tested by

no test coverage detected