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