import type * as React from "react"; import { cn } from "@/shared/lib/cn"; export type FileContentLineKind = "add" | "remove" | "context" | "meta"; export type FileContentLine = { kind: FileContentLineKind; text: string; }; /** Scrollable mono panel with top/bottom fade affordances for overflow. */ export function ScrollFadeMonoPanel({ children, className, fadeFromClassName = "from-muted", maxHeightClassName = "max-h-64", }: { children: React.ReactNode; className?: string; fadeFromClassName?: string; maxHeightClassName?: string; }) { return (