({ className, ...props }: React.ComponentProps<"div">)
| 130 | } |
| 131 | |
| 132 | function CarouselContent({ className, ...props }: React.ComponentProps<"div">) { |
| 133 | const { carouselRef, orientation } = useCarousel(); |
| 134 | |
| 135 | return ( |
| 136 | <div ref={carouselRef} className="overflow-hidden" data-slot="carousel-content"> |
| 137 | <div |
| 138 | className={cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className)} |
| 139 | {...props} |
| 140 | /> |
| 141 | </div> |
| 142 | ); |
| 143 | } |
| 144 | |
| 145 | function CarouselItem({ className, ...props }: React.ComponentProps<"div">) { |
| 146 | const { orientation } = useCarousel(); |
nothing calls this directly
no test coverage detected