mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
chore: update to Fumadocs 15.7 (#4154)
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com> Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
This commit is contained in:
@@ -27,6 +27,20 @@ function ScrollArea({
|
||||
</ScrollAreaPrimitive.Root>
|
||||
);
|
||||
}
|
||||
const ScrollViewport = React.forwardRef<
|
||||
React.ComponentRef<typeof ScrollAreaPrimitive.Viewport>,
|
||||
React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Viewport>
|
||||
>(({ className, children, ...props }, ref) => (
|
||||
<ScrollAreaPrimitive.Viewport
|
||||
ref={ref}
|
||||
className={cn("size-full rounded-[inherit]", className)}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</ScrollAreaPrimitive.Viewport>
|
||||
));
|
||||
|
||||
ScrollViewport.displayName = ScrollAreaPrimitive.Viewport.displayName;
|
||||
|
||||
function ScrollBar({
|
||||
className,
|
||||
@@ -55,4 +69,4 @@ function ScrollBar({
|
||||
);
|
||||
}
|
||||
|
||||
export { ScrollArea, ScrollBar };
|
||||
export { ScrollArea, ScrollBar, ScrollViewport };
|
||||
|
||||
Reference in New Issue
Block a user