MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / Field

Function Field

packages/react/src/components/field.tsx:78–92  ·  view source on GitHub ↗
({
  className,
  orientation = "vertical",
  ...props
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>)

Source from the content-addressed store, hash-verified

76});
77
78function Field({
79 className,
80 orientation = "vertical",
81 ...props
82}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) {
83 return (
84 <div
85 role="group"
86 data-slot="field"
87 data-orientation={orientation}
88 className={cn(fieldVariants({ orientation }), className)}
89 {...props}
90 />
91 );
92}
93
94function FieldContent({ className, ...props }: React.ComponentProps<"div">) {
95 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected