MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / FieldGroup

Function FieldGroup

components/ui/field.tsx:41–52  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

39}
40
41function 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
54const fieldVariants = cva(
55 "data-[invalid=true]:text-destructive gap-2 group/field flex w-full",

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected