Function
Field
({ className, ...props }: FieldPrimitive.Root.Props)
Source from the content-addressed store, hash-verified
| 5 | import { cn } from "@/lib/utils"; |
| 6 | |
| 7 | function Field({ className, ...props }: FieldPrimitive.Root.Props) { |
| 8 | return ( |
| 9 | <FieldPrimitive.Root |
| 10 | className={cn("flex flex-col items-start gap-2", className)} |
| 11 | data-slot="field" |
| 12 | {...props} |
| 13 | /> |
| 14 | ); |
| 15 | } |
| 16 | |
| 17 | function FieldLabel({ className, ...props }: FieldPrimitive.Label.Props) { |
| 18 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected