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