import * as React from "react" import { ScrollView } from "@tarojs/components" import { cn } from "@/lib/utils" const ScrollArea = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { orientation?: "vertical" | "horizontal" | "both" } >(({ className, children, orientation = "vertical", ...props }, ref) => { const scrollX = orientation === "horizontal" || orientation === "both" const scrollY = orientation === "vertical" || orientation === "both" return ( {children} ) }) ScrollArea.displayName = "ScrollArea" const ScrollBar = () => null // Taro ScrollView handles scrollbars natively export { ScrollArea, ScrollBar }