diff --git a/src/components/content/pre.tsx b/src/components/content/pre.tsx index 288b8fc..2a42ea2 100644 --- a/src/components/content/pre.tsx +++ b/src/components/content/pre.tsx @@ -4,9 +4,10 @@ import { cn } from "@/lib/utils"; import { Button } from "@/components/ui/button"; import { CheckIcon, CopyIcon } from "lucide-react"; import { ReactNode, useRef, useState } from "react"; +import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area"; interface PreProps { - children?: ReactNode, + children?: ReactNode; className?: string; } @@ -53,7 +54,7 @@ export function Pre({
- {children} -+
+ {children} ++