Function
FieldGroup
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 39 | } |
| 40 | |
| 41 | function FieldGroup({ className, ...props }: React.ComponentProps<"div">) { |
| 42 | return ( |
| 43 | <div |
| 44 | data-slot="field-group" |
| 45 | className={cn( |
| 46 | "gap-5 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col", |
| 47 | className |
| 48 | )} |
| 49 | {...props} |
| 50 | /> |
| 51 | ); |
| 52 | } |
| 53 | |
| 54 | const fieldVariants = cva( |
| 55 | "data-[invalid=true]:text-destructive gap-2 group/field flex w-full", |
Callers
nothing calls this directly
Tested by
no test coverage detected