import { cn } from "@workspace/ui/lib/utils" /** A unified diff, line by line, coloured by what each line does. */ export function DiffView({ diff }: { diff: string }) { return (
{diff.split("\n").map((line, i) => (
{line || " "}
))}
)
}