Function
FieldSet
({ className, ...props }: React.ComponentProps<"fieldset">)
Source from the content-addressed store, hash-verified
| 8 | import { cn } from "@/lib/utils"; |
| 9 | |
| 10 | function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">) { |
| 11 | return ( |
| 12 | <fieldset |
| 13 | data-slot="field-set" |
| 14 | className={cn( |
| 15 | "gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", |
| 16 | className |
| 17 | )} |
| 18 | {...props} |
| 19 | /> |
| 20 | ); |
| 21 | } |
| 22 | |
| 23 | function FieldLegend({ |
| 24 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected