Function
Group
({
className,
orientation,
children,
...props
}: {
className?: string;
orientation?: VariantProps<typeof groupVariants>["orientation"];
children: React.ReactNode;
} & React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 24 | ); |
| 25 | |
| 26 | function Group({ |
| 27 | className, |
| 28 | orientation, |
| 29 | children, |
| 30 | ...props |
| 31 | }: { |
| 32 | className?: string; |
| 33 | orientation?: VariantProps<typeof groupVariants>["orientation"]; |
| 34 | children: React.ReactNode; |
| 35 | } & React.ComponentProps<"div">) { |
| 36 | return ( |
| 37 | <div |
| 38 | className={cn(groupVariants({ orientation }), className)} |
| 39 | data-orientation={orientation} |
| 40 | data-slot="group" |
| 41 | role="group" |
| 42 | {...props} |
| 43 | > |
| 44 | {children} |
| 45 | </div> |
| 46 | ); |
| 47 | } |
| 48 | |
| 49 | function GroupText({ |
| 50 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected