Function
Field
({
className,
orientation = "vertical",
...props
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>)
Source from the content-addressed store, hash-verified
| 70 | ); |
| 71 | |
| 72 | function Field({ |
| 73 | className, |
| 74 | orientation = "vertical", |
| 75 | ...props |
| 76 | }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) { |
| 77 | return ( |
| 78 | <div |
| 79 | role="group" |
| 80 | data-slot="field" |
| 81 | data-orientation={orientation} |
| 82 | className={cn(fieldVariants({ orientation }), className)} |
| 83 | {...props} |
| 84 | /> |
| 85 | ); |
| 86 | } |
| 87 | |
| 88 | function FieldContent({ className, ...props }: React.ComponentProps<"div">) { |
| 89 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected