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

Function FieldSet

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

Source from the content-addressed store, hash-verified

8import { cn } from "@/lib/utils";
9
10function 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
23function FieldLegend({
24 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected