Files
sql-server-query-ai/components/report-view.tsx
2026-09-22 08:32:40 +03:00

9 lines
301 B
TypeScript

"use client";
import { Renderer } from "@openuidev/react-lang";
import { library } from "@/lib/report-ui";
export function ReportView({ oul, streaming }: { oul: string; streaming: boolean }) {
if (!oul) return null;
return <Renderer response={oul} library={library} isStreaming={streaming} />;
}