MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / Field

Function Field

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected