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

Function FieldDescription

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

Source from the content-addressed store, hash-verified

139}
140
141function FieldDescription({ className, ...props }: React.ComponentProps<"p">) {
142 return (
143 <p
144 data-slot="field-description"
145 className={cn(
146 "text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance",
147 "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",
148 "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
149 className
150 )}
151 {...props}
152 />
153 )
154}
155
156function FieldSeparator({
157 children,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected