({
className,
orientation = "vertical",
...props
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>)
| 68 | ) |
| 69 | |
| 70 | function Field({ |
| 71 | className, |
| 72 | orientation = "vertical", |
| 73 | ...props |
| 74 | }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) { |
| 75 | return ( |
| 76 | <div |
| 77 | role="group" |
| 78 | data-slot="field" |
| 79 | data-orientation={orientation} |
| 80 | className={cn(fieldVariants({ orientation }), className)} |
| 81 | {...props} |
| 82 | /> |
| 83 | ) |
| 84 | } |
| 85 | |
| 86 | function FieldContent({ className, ...props }: React.ComponentProps<"div">) { |
| 87 | return ( |
no test coverage detected