Function
Field
({
className,
orientation = "vertical",
...props
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>)
Source from the content-addressed store, hash-verified
| 79 | ) |
| 80 | |
| 81 | function 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 | |
| 97 | function FieldContent({ className, ...props }: React.ComponentProps<"div">) { |
| 98 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected